[Swan-dev] _stackmanager: set some variables to prevent coverity warning

Paul Wouters paul at nohats.ca
Mon Jun 17 21:55:43 UTC 2019


Oops, fixed.

Thanks for the review 

Sent from mobile device

> On Jun 17, 2019, at 17:45, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> 
> | commit 5e6e29f16706cf996f5e331038191b866f5a1b1e
> | Author: Paul Wouters <pwouters at redhat.com>
> | Date:   Mon Jun 17 17:00:54 2019 -0400
> | 
> |     _stackmanager: set some variables to prevent coverity warning
> |     
> |     Comes in via an eval() of ipsec addconn --configsetup
> 
> +# Tehse prevent coverity warnings, variables come in via ipsec addconn call
> +xfrmlifetime=""
> +overridemtu=""
> +fragicmp=""
> +hidetos=""
> 
> How can this work when the addconn invocation setting the variables to
> the correct value seems to come before this set of assignments?
> 
> (Note I know nothing about this code so I may have this all wrong.)
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev



More information about the Swan-dev mailing list