diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-08-23 20:11:13 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-08-23 20:18:18 +0200 |
commit | 61ead1d27806801fa0b4f4501938c3d044f776fc (patch) | |
tree | 70ced39589b78ff19f958d61b7891fbb3e0250e5 /lib/compat/mockups.c | |
parent | d807cf258ba7a70ee4607294057701cb7a515c5d (diff) |
Cleanup gzip range clamping code
The zlib library uses a typedef'd uInt type for ranges which may be
smaller than size_t.
The complicated clamping to the uInt range is technically not needed,
as the buffer size can grow at most to BUFSZ anyway, and it also
confuses coverity.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/compat/mockups.c')
0 files changed, 0 insertions, 0 deletions