Skip to content
Snippets Groups Projects
Commit 75d0fbec authored by Guillem Jover's avatar Guillem Jover
Browse files

libdpkg: Move compression level max bound check from dpkg-deb

The compression level max bound check is specific to each compressor,
and we cannot simply use a single max bound for every compressor. Move
the check into the compressor_check_params() function where we can check
whether it is coherent with the compressor requested.

The dpkg_options_parse_arg_int() already makes sure we get a sanitized
value that is 0 or larger but not larger than INT_MAX.
parent 86ceb336
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment