Re: [ovs-dev] [PATCH v3 02/10] ovn: Fix uninit access warning from valgrind.

2015-07-28 Thread Ben Pfaff
On Tue, Jul 21, 2015 at 12:59:12PM -0400, Russell Bryant wrote: > While running ovn-controller under valgrind, I noticed several > variations of the same warning. Switching this allocation from malloc > to zalloc resolves it. > > For reference, some examples from valgrind are: > > ==8487== Condi

[ovs-dev] [PATCH v3 02/10] ovn: Fix uninit access warning from valgrind.

2015-07-21 Thread Russell Bryant
While running ovn-controller under valgrind, I noticed several variations of the same warning. Switching this allocation from malloc to zalloc resolves it. For reference, some examples from valgrind are: ==8487== Conditional jump or move depends on uninitialised value(s) ==8487==at 0x408935: