summaryrefslogtreecommitdiff
path: root/src/newgrf_cargo.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-09 14:48:21 +0000
committerrubidium <rubidium@openttd.org>2007-01-09 14:48:21 +0000
commit293d8ba826d888b3b2c474292d978b721b1e728b (patch)
tree1a895d51fa9e5d511399e1677b43185ddb416831 /src/newgrf_cargo.c
parent53576542d1928e4a60e5affeefda4445de255c6f (diff)
downloadopenttd-293d8ba826d888b3b2c474292d978b721b1e728b.tar.xz
(svn r8000) -Codechange: drop UDP packets when their internal size does not match the received size. If that is the case, the packet was not received in one piece (or got somehow mangled with another packet), which will cause us to drop the packet later on because we are (for example) trying to read beyond the end of the packet.
Diffstat (limited to 'src/newgrf_cargo.c')
0 files changed, 0 insertions, 0 deletions