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

2017-06-13 Thread Lance Richardson
> From: "Ben Pfaff" <b...@ovn.org> > To: "Lance Richardson" <lrich...@redhat.com> > 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 parame

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" <b...@ovn.org> > > To: "Lance Richardson" <lrich...@redhat.com> > > Cc: d...@openvswitch.org > > Sent: Tuesday, 13 June, 2017 1:06:12 AM > > Subj

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

2017-06-13 Thread Lance Richardson
> From: "Ben Pfaff" <b...@ovn.org> > To: "Lance Richardson" <lrich...@redhat.com> > 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 parame

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

[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