]> granicus.if.org Git - curl/commit
ftp: avoid two unsigned int overflows in FTP listing parser
authorTim Rühsen <tim.ruehsen@gmx.de>
Sat, 3 Nov 2018 17:49:00 +0000 (18:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Nov 2018 22:08:46 +0000 (23:08 +0100)
commitc05d77ee7dd23ebec68c3ef4012fb8febd78f8af
tree78f1f6e31ea4e2ea78952b6cbee4d5cde59c1415
parentfcf3f133682d5d5c853290841accd5170d2ccc70
ftp: avoid two unsigned int overflows in FTP listing parser

Curl_ftp_parselist: avoid unsigned integer overflows

The overflow has no real world impact, just avoid it for "best
practice".

Closes #3225
lib/ftplistparser.c