]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: avoid risk of reading uninitialized integers
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Sep 2020 14:16:38 +0000 (16:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Sep 2020 06:26:49 +0000 (08:26 +0200)
commit3d8731c8f52cf1ed40bbabd319a3b732cdbcd3d2
treeac283c439fe84291a4a4f477b2ed25782de0cb77
parent7921b41ce1b0d8bf8ebe42456116c6b2fece485d
ftp: avoid risk of reading uninitialized integers

If the received PASV response doesn't match the expected pattern, we
could end up reading uninitialized integers for IP address and port
number.

Issue pointed out by muse.dev
Closes #5972
lib/ftp.c