summaryrefslogtreecommitdiff
path: root/libfetch/common.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-01-19 17:49:20 +0200
committerTimo Teräs <timo.teras@iki.fi>2021-01-19 17:51:13 +0200
commitbcbcbfc1fc9514db7a9ecddec5029b8d89fde5ed (patch)
treeaaf1c29a8b8e1da8bd8a0cb3a6c677e6c86b5c9a /libfetch/common.h
parentacca5cbff088397a960a24cd3600e772b572308d (diff)
downloadapk-tools-bcbcbfc1fc9514db7a9ecddec5029b8d89fde5ed.tar.gz
apk-tools-bcbcbfc1fc9514db7a9ecddec5029b8d89fde5ed.tar.bz2
apk-tools-bcbcbfc1fc9514db7a9ecddec5029b8d89fde5ed.tar.xz
apk-tools-bcbcbfc1fc9514db7a9ecddec5029b8d89fde5ed.zip
libfetch: harden URL parsing
Treat URLs with too long individual components as malformed instead of silently truncating that field. There might be unexpected results if hostname, username or password field gets truncated.
Diffstat (limited to 'libfetch/common.h')
0 files changed, 0 insertions, 0 deletions