diff options
author | 2020-09-01 16:26:50 +0200 | |
---|---|---|
committer | 2020-09-03 10:13:09 +0200 | |
commit | 1c4dd334df3a0627ff57b35612057e2b497e373b (patch) | |
tree | 0ad03f863d2c803b825494d8d111fc87f2a91512 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: SGI-IP32: No need to include mc14818*.h (diff) | |
download | wireguard-linux-1c4dd334df3a0627ff57b35612057e2b497e373b.tar.xz wireguard-linux-1c4dd334df3a0627ff57b35612057e2b497e373b.zip |
lib: decompress_unzstd: Limit output size
The zstd decompression code, as it is right now, will most likely fail
on 32-bit systems, as the default output buffer size causes the buffer's
end address to overflow.
Address this issue by setting a sane default to the default output size,
with a value that won't overflow the buffer's end address.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Nick Terrell <terrelln@fb.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions