]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: fix NULL pointer check in virNWFilterSnoopReqNew
authorJán Tomko <jtomko@redhat.com>
Wed, 28 Nov 2012 13:34:45 +0000 (14:34 +0100)
committerOsier Yang <jyang@redhat.com>
Wed, 28 Nov 2012 16:00:39 +0000 (00:00 +0800)
commitcb022152529f560183afd4e443773b3209085576
treed2a3ffd5d45508027357706856cba9c029d9773b
parentd3337028f50b386d2a032e77f4c0e0af671301a3
nwfilter: fix NULL pointer check in virNWFilterSnoopReqNew

This can't lead to a crash since virNWFilterSnoopReqNew is only called
with a static array as the argument, but if we check for NULL we should
do it right.
src/nwfilter/nwfilter_dhcpsnoop.c