aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
authorColin Snover2017-11-10 23:19:49 -0600
committerColin Snover2017-11-10 23:22:25 -0600
commita8eddb2fc4d2aa29d306bc8ac7744c9c8bbb429b (patch)
tree289c3089825ac10de8beea9dd1d0a0127a092ce5 /common/util.h
parent6b4195a542083c97f696c843b9823d578b018996 (diff)
downloadscummvm-rg350-a8eddb2fc4d2aa29d306bc8ac7744c9c8bbb429b.tar.gz
scummvm-rg350-a8eddb2fc4d2aa29d306bc8ac7744c9c8bbb429b.tar.bz2
scummvm-rg350-a8eddb2fc4d2aa29d306bc8ac7744c9c8bbb429b.zip
SKY: 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 'common/util.h')
0 files changed, 0 insertions, 0 deletions