summaryrefslogtreecommitdiff
path: root/lib/util/filename_sane.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-08-23 20:11:13 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-08-23 20:18:18 +0200
commit61ead1d27806801fa0b4f4501938c3d044f776fc (patch)
tree70ced39589b78ff19f958d61b7891fbb3e0250e5 /lib/util/filename_sane.c
parentd807cf258ba7a70ee4607294057701cb7a515c5d (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/util/filename_sane.c')
0 files changed, 0 insertions, 0 deletions