[libvirt] [PATCH] util: Allow removing hash entries in virHashForEach

Paolo Bonzini pbonzini at redhat.com
Fri Mar 4 08:08:01 UTC 2011


On 03/03/2011 03:09 PM, Daniel Veillard wrote:
>    ACK, removing should be safe then, but adding will still be
> a big problem due to virHashGrow().

Removing _the current_ element is safe, on the other hand removing any 
other element used to be safe and now it may cause a dangling pointer 
access...

Paolo




More information about the libvir-list mailing list