[Xorp-hackers] valgrind: selector.cc: Reading free'd memory

Bruce Simpson bms at incunabulum.net
Sat Oct 3 03:30:16 PDT 2009


Ben Greear wrote:
>
> We have to ensure that the Node memory can never be deleted while that 
> method
> is running.  My work-around solves this for any sane amount of 
> file-descriptors
> (up to 1024).

I've committed the part of the change which preallocates 
_selector_entries, but limited it to 256 file descriptors to keep the 
memory wastage down. thanks!



More information about the Xorp-hackers mailing list