diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-02-05 11:30:52 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-02-05 11:30:52 -0500 |
commit | 230d22ceb2ccc9e82aec0a37f1647636fb5ee310 (patch) | |
tree | 11e217a2d0fdd9c9328edd5393f3bd8b22ec18bd /indra/llcommon/llbase32.h | |
parent | 950cac24ccfe963b5af1dc4f7b07acda1e8bd062 (diff) |
Fix Vars::cp dangling-pointer problem.
Naively storing a const char* param in a const char* data member ignores the
fact that once the caller's done, the string data referenced by that pointer
will probably be freed. Store the referenced string in a std::string instead.
Diffstat (limited to 'indra/llcommon/llbase32.h')
0 files changed, 0 insertions, 0 deletions