summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-02-04 22:28:23 +0200
committerTimo Teräs <timo.teras@iki.fi>2021-02-07 15:31:41 +0200
commitc1594f60770483625891541375a074fe07338401 (patch)
treea3c5560574f370a67e00034a6b750ee0766341d4 /README.md
parent77adfc5e67c7a8489705d497bf11568b6c7f3b31 (diff)
downloadapk-tools-c1594f60770483625891541375a074fe07338401.tar.gz
apk-tools-c1594f60770483625891541375a074fe07338401.tar.bz2
apk-tools-c1594f60770483625891541375a074fe07338401.tar.xz
apk-tools-c1594f60770483625891541375a074fe07338401.zip
db: consider control characters in filename as malicious
Especially a newline can produce havoc in the database file as the filename is written there as-is. This hardenes the extraction to consider any control character as malicious. Additional hardening is added to database loading to better detect corrupt state and return proper error code about it. Reported-by: Luca Weiss <luca@z3ntu.xyz>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions