[Libvir] PATCH: Fix crash if client acl check fails

Richard W.M. Jones rjones at redhat.com
Thu Jul 12 08:34:10 UTC 2007


Daniel P. Berrange wrote:
> There was a couple of places where if the ACL check for an incoming client
> failed, it would go on and register the client's FD in the event loop
> anyway. The trouble is, after the ACL failed, the client had been forcably
> disconnected & the client struct free'd, so the daemon died in the event
> loop a short time later. This patch fixes it & makes a couple of other
> places more paranoid about checking too

+1

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070712/33a58417/attachment-0001.bin>


More information about the libvir-list mailing list