summaryrefslogtreecommitdiff
path: root/core/adv.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-08 22:19:41 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-08 22:19:41 -0700
commit6e969f3b4359125780868d9747bc59bbeee86a9e (patch)
treec4e79821ac0e4699dd0fdbf2049bfb57ff1467f9 /core/adv.inc
parent9147554cd1ab47d51fd4f50a001f05fa665ecfd0 (diff)
downloadsyslinux-6e969f3b4359125780868d9747bc59bbeee86a9e.tar.gz
PXELINUX: handle OACK packets with extra NULs, cleaner TFTP errorsyslinux-3.82-pre5
There are apparently TFTP servers in the field which will send OACK packets with extra NUL bytes appended at the end. If we find an OACK packet where the only thing left at some point during processing is NULs, then just consider the packet processed. We have reported all TFTP protocol errors as "tsize required", which is definitely not true anymore. Change error code to 0 (undefined) and the error string to "TFTP error". When this code gets converted to C we'll do better. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/adv.inc')
0 files changed, 0 insertions, 0 deletions