diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-10-19 14:41:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-20 15:06:25 +0200 |
commit | 769647e714b8da41bdb72720bf02dce56033e02e (patch) | |
tree | 3d82a374ee3f68721515637042a5bd01b4ebbbdb /lib/pingpong.h | |
parent | 8351ab45105c3e58c38205c045477198ff887829 (diff) |
ftp: reject illegal IP/port in PASV 227 response
... by using range checks. Among other things, this avoids an undefined
behavior for a left shift that could happen on negative or very large
values.
Closes #1997
Detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3694
Diffstat (limited to 'lib/pingpong.h')
0 files changed, 0 insertions, 0 deletions