diff options
author | Johannes Schickel | 2013-11-03 18:43:51 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-11-03 18:47:03 +0100 |
commit | 919e577ba665002c1513b53a755cb1d663b99f7e (patch) | |
tree | a101ae5ace7ef76114031a07a013d0b4e9e44c21 /COPYING | |
parent | 1a440b5ef27c5cfa684286f4f58564d97a544231 (diff) | |
download | scummvm-rg350-919e577ba665002c1513b53a755cb1d663b99f7e.tar.gz scummvm-rg350-919e577ba665002c1513b53a755cb1d663b99f7e.tar.bz2 scummvm-rg350-919e577ba665002c1513b53a755cb1d663b99f7e.zip |
SDL: Fix invalid memory access in getSystemLanguage.
A call to setlocale can invalidate the string a previous setlocale call
returned. Instead of saving a pointer we copy the returned string now. This,
for example, fixes invalid memory access on my system.
See de8da01b0e8a309b9ed3f5b0f152ebbcf8f4af37 for the commit introducing the
invalid memory access.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions