diff options
author | tron <tron@openttd.org> | 2007-02-22 15:01:38 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-22 15:01:38 +0000 |
commit | c8343206115a50afb27743937d6c477516cbfdb2 (patch) | |
tree | 95bc87b398c6672e870c7903ec57d36d724eb11e /src/depot.cpp | |
parent | 103d119c510a83c3b0cca20328ad4d87e8159d6a (diff) | |
download | openttd-c8343206115a50afb27743937d6c477516cbfdb2.tar.xz |
(svn r8843) -Fix
-Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size)
Also avoid an unnecessary buffer copy and strlcpy() abuse
NOTE: 0.5 candidate
Diffstat (limited to 'src/depot.cpp')
0 files changed, 0 insertions, 0 deletions