diff options
author | Colin Snover | 2017-11-10 23:21:46 -0600 |
---|---|---|
committer | Colin Snover | 2017-11-10 23:22:26 -0600 |
commit | 925c9416db8ae2361d8f444823621b869a1d210f (patch) | |
tree | 75e589cbfe67ef0f32fae27e6ce9650da5297779 /gui/Key.cpp | |
parent | a8eddb2fc4d2aa29d306bc8ac7744c9c8bbb429b (diff) | |
download | scummvm-rg350-925c9416db8ae2361d8f444823621b869a1d210f.tar.gz scummvm-rg350-925c9416db8ae2361d8f444823621b869a1d210f.tar.bz2 scummvm-rg350-925c9416db8ae2361d8f444823621b869a1d210f.zip |
SWORD1: Fix use of deallocated stack memory
FSNode::getName returns a String object, not a reference, so the
pointer from c_str is valid only until the end of the statement.
Diffstat (limited to 'gui/Key.cpp')
0 files changed, 0 insertions, 0 deletions