[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]