]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix crash in nwfilter driver check
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Apr 2010 13:16:46 +0000 (14:16 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Apr 2010 10:06:30 +0000 (11:06 +0100)
commit98bd5e6c5a2634bcb99992dd10dd41a352ac210c
tree29d501c0c94690d217928da9432b4391b477d997
parent3022375da32d7657abd6d3a31770c18aedc708bd
Fix crash in nwfilter driver check

The nwfilterDriverActive() could de-reference a NULL pointer
if it hadn't be started at the point it was called. It was
also not thread safe, since it lacked locking around data
accesses.

* src/nwfilter/nwfilter_driver.c: Fix locking & NULL checks
  in nwfilterDriverActive()
src/nwfilter/nwfilter_driver.c