Re: [ovs-discuss] Arguments to memcmp() must be nonnull

2015-08-19 Thread Ben Pfaff
On Mon, Aug 10, 2015 at 03:46:45PM +0530, neeraj mehta wrote: > Hi, > > There is a possible defect in "utilities/ovs-ofctl.c" line 2013 OVS-2.3.2. > > In ovs-ofctl.c, NULL(in certain conditions) being passed as argument in > memcmp(). > ISO C says that the arguments to memcmp() must not be NULL.

Re: [ovs-discuss] Arguments to memcmp() must be nonnull

2015-08-11 Thread Justin Pettit
> On Aug 11, 2015, at 12:23 AM, neeraj mehta wrote: > > Hi, > > There is a possible defect in "utilities/ovs-ofctl.c" line 2013 OVS-2.3.2. > > In ovs-ofctl.c, NULL(in certain conditions) being passed as argument in > memcmp(). > ISO C says that the arguments to memcmp() must not be NULL. > >

[ovs-discuss] Arguments to memcmp() must be nonnull

2015-08-11 Thread neeraj mehta
Hi, There is a possible defect in "utilities/ovs-ofctl.c" line 2013 OVS-2.3.2. In ovs-ofctl.c, NULL(in certain conditions) being passed as argument in memcmp(). ISO C says that the arguments to memcmp() must not be NULL. --- "lib/ofpbuf.h" 425L, 14598C OVS-2.3.2 static inline void * ofpbuf_l3(

[ovs-discuss] Arguments to memcmp() must be nonnull

2015-08-10 Thread neeraj mehta
Hi, There is a possible defect in "utilities/ovs-ofctl.c" line 2013 OVS-2.3.2. In ovs-ofctl.c, NULL(in certain conditions) being passed as argument in memcmp(). ISO C says that the arguments to memcmp() must not be NULL. --- "lib/ofpbuf.h" 425L, 14598C OVS-2.3.2 static inline void * ofpbuf_l3(