From: John L. <le...@mo...> - 2008-05-10 16:18:58
|
On Fri, May 09, 2008 at 01:07:07PM -0700, Dave Nomura wrote: > I tried the canary test, extra data never overwritten. > > Then I tried going back to the original code and just adding: > scoped_array<unsigned char> test(new unsigned char[size]); > without even referencing test, and got the same bad_alloc error. Bizarre. What if you open code a new and an explicit delete [] ? john |