[Xorp-cvs] XORP cvs commit: xorp/libxorp

Bruce M Simpson bms at incunabulum.net
Mon May 5 04:14:21 PDT 2008


Bruce Simpson wrote:
> 	BufferedAsyncReader::set_reserve_bytes() is a method which may cause
> 	its internal buffer, implemented as a std::vector, to be resized. Pointers
> 	to elements of a std::vector are NOT guaranteed to remain valid after
> 	the resize() method is called.
>   


I did a very brief audit and don't see misuse of resize() in this way 
elsewhere in the code base.



More information about the Xorp-cvs mailing list