]> git.ipfire.org Git - thirdparty/curl.git/commit
tftp: reject file name lengths that don't fit
authorDaniel Stenberg <daniel@haxx.se>
Tue, 1 Aug 2017 15:16:46 +0000 (17:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Aug 2017 07:24:30 +0000 (09:24 +0200)
commit358b2b131ad6c095696f20dcfa62b8305263f898
tree43a86c450eceed59e6afbb1f5a5751782569d0b0
parentc9332fa5e84f24da300b42b1a931ade929d3e27d
tftp: reject file name lengths that don't fit

... and thereby avoid telling send() to send off more bytes than the
size of the buffer!

CVE-2017-1000100

Bug: https://curl.haxx.se/docs/adv_20170809B.html
Reported-by: Even Rouault
Credit to OSS-Fuzz for the discovery
lib/tftp.c