confile_utils: fix a signed integer overflow
This was triggered by the following chain of conversions:
lxc_safe_uint("020000000020") -> 2147483664 (uint)
sig_num(2147483664 (uint)) -> -2147483632 (int)
64 - -2147483632 cannot be represented in type 'int'
Closes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32596Signed-off-by:
Evgeny Vereshchagin <evvers@ya.ru>
Showing
Please
register
or
sign in
to comment