
17 May
2009
17 May
'09
7:38 a.m.
Jochen Heckl wrote:
Hi, I think I stumbled over a problem in the boost unit test library.
this code (boost\test\utils\basic_cstring\basic_cstring.hpp, around line 170) will result in a corrupted basic_cstring, if the source string s goes out of scope, which is the case here because of the temporal std::string return from retrieve_parameter (boost\test\impl\unit_test_parameters.ipp, around line 353 )
Yep. Good catch. Your fix is fine I think. I checked it in. Gennadiy