summaryrefslogtreecommitdiff
path: root/src/m_config.h
diff options
context:
space:
mode:
authorSimon Howard2015-03-27 23:51:31 -0400
committerSimon Howard2015-03-27 23:51:31 -0400
commit0de4081d3b5689708136dd589d3554315e5ea6d1 (patch)
tree4fb486afc9d951aa0022675e5fd21eb9353f5f6e /src/m_config.h
parent9c17b1f6a1f89e33f80be2efacacbc3ce4380561 (diff)
downloadchocolate-doom-0de4081d3b5689708136dd589d3554315e5ea6d1.tar.gz
chocolate-doom-0de4081d3b5689708136dd589d3554315e5ea6d1.tar.bz2
chocolate-doom-0de4081d3b5689708136dd589d3554315e5ea6d1.zip
misc: Handle M_StringCopy() short buffer case.
M_StringCopy() must always be provided a buffer of at least one character long, so that a NUL character can be written. If this is not the case, return immediately and indicate that the buffer was truncated.
Diffstat (limited to 'src/m_config.h')
0 files changed, 0 insertions, 0 deletions