bl0ckeduser/snes9x — comment on commit 2a939e6d9ba3145d5a43b23d2ae8fd4f5aa6593d
File:  line 0
By bl0ckeduser:

I don't know C++ very well, but I did a Google search and found: "C++ strings [i.e. via the C++ string class] are not guaranteed to be null-terminated (by a '\0')" (http://www.cprogramming.com/tutorial/string.html). This code demonstrates it: http://codepad.org/F9o91nWv . On my machine, this patch prevented the debug build (MSVC 2010) from crashing, and didn't seem to break config file loading.