Re: [ovs-dev] [RFC] treewide: undefined behavior, passing null in nonnull parameters

2017-06-13 Thread Lance Richardson
> From: "Ben Pfaff" > To: "Lance Richardson" > Cc: d...@openvswitch.org > Sent: Tuesday, 13 June, 2017 11:21:16 AM > Subject: Re: [ovs-dev] [RFC] treewide: undefined behavior, passing null in > nonnull parameters > > On Tue, Jun 13, 2017 at 08:21:23

Re: [ovs-dev] [RFC] treewide: undefined behavior, passing null in nonnull parameters

2017-06-13 Thread Ben Pfaff
On Tue, Jun 13, 2017 at 08:21:23AM -0400, Lance Richardson wrote: > > From: "Ben Pfaff" > > To: "Lance Richardson" > > Cc: d...@openvswitch.org > > Sent: Tuesday, 13 June, 2017 1:06:12 AM > > Subject: Re: [ovs-dev] [RFC] treewide: undefined

Re: [ovs-dev] [RFC] treewide: undefined behavior, passing null in nonnull parameters

2017-06-13 Thread Lance Richardson
> From: "Ben Pfaff" > To: "Lance Richardson" > Cc: d...@openvswitch.org > Sent: Tuesday, 13 June, 2017 1:06:12 AM > Subject: Re: [ovs-dev] [RFC] treewide: undefined behavior, passing null in > nonnull parameters > > On Mon, Jun 12, 2017

Re: [ovs-dev] [RFC] treewide: undefined behavior, passing null in nonnull parameters

2017-06-12 Thread Ben Pfaff
On Mon, Jun 12, 2017 at 08:06:01PM -0400, Lance Richardson wrote: > Eliminate a number of instances of undefined behavior related to > passing NULL in parameters having "nonnull" annotations. > > Found with gcc's undefined behavior sanitizer. > > Signed-off-by: Lance Richardson > --- > > Postin

[ovs-dev] [RFC] treewide: undefined behavior, passing null in nonnull parameters

2017-06-12 Thread Lance Richardson
Eliminate a number of instances of undefined behavior related to passing NULL in parameters having "nonnull" annotations. Found with gcc's undefined behavior sanitizer. Signed-off-by: Lance Richardson --- Posting this as RFC because there is no apparent risk of unwanted compiler optimizations r