aboutsummaryrefslogtreecommitdiff
path: root/tests/server/util.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-10-19 14:41:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-10-20 15:06:25 +0200
commit769647e714b8da41bdb72720bf02dce56033e02e (patch)
tree3d82a374ee3f68721515637042a5bd01b4ebbbdb /tests/server/util.c
parent8351ab45105c3e58c38205c045477198ff887829 (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 'tests/server/util.c')
0 files changed, 0 insertions, 0 deletions