Re: [boost] Boost.Test buglet: accessing invalid memory

2003-01-28 Thread John Maddock
The problems is caused by calling data() on std::string, which does not zero-terminate the returned value, AFAICT. The following patch eliminates the warning: I reported that one some time ago: there are quite a few occurrences of data() where c_str() should be used :-( John Maddock

RE: [boost] Boost.Test buglet: accessing invalid memory

2003-01-28 Thread Rozental, Gennadiy
Hi, You right. It somehow slipped my attention before. Luckily, I was working with library last weekend and already eliminated almost all used of C strings. And it will automatically fix this issue. Gennadiy. ___ Unsubscribe other changes: