10 Aug
2009
10 Aug
'09
11:23 a.m.
Hi Alexei, Alexei Sheplyakov schrieb:
rettypes.reserve(assocseq.size()); // rettypes.size() == 0 since reserve() does NOT change the size of a vector. rettypes[i] = cit->return_type(); // Illegal according to the standard. Appears to work with some implementations // and segfault with others (i.e. m$vc)
So the patch does fix the access beyond the vector boundary (as the commit message implies).
oops, yes, sorry, I was confusing reserve with resize ... Thanks for all the patches. Is there something else you would want to see in 1.5.4? Otherwise I'll do a release soon. Regards, Jens