diff options
author | David Kalnischkies <david@kalnischkies.de> | 2020-05-13 09:07:19 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2021-02-03 17:36:46 +0100 |
commit | e0743a85c5f5f2f83d91c305450e8ba192194cd8 (patch) | |
tree | 831e7cd937102f0e46b494387de31449b75447c2 /apt-pkg/contrib/string_view.h | |
parent | 6630c3e5b6af77205b043208ef15720cf270075c (diff) |
Forbid negative values in unsigned StrToNum explicitly
strtoul(l) surprises us with parsing negative values which should not
exist in the places we use to parse them, so we can just downright
refuse them rather than trying to work with them by having them promoted
to huge positive values.
Diffstat (limited to 'apt-pkg/contrib/string_view.h')
0 files changed, 0 insertions, 0 deletions