Description[NaCl SDK] nacl_io: fix invalid access to string data.
The data referenced by c_str() is only valid as long as the
std::string is still live, so hold std::string values
on the stack.
This was causing tests to fail on my Trusty laptop.
BUG=
R=binji@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285346
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|