summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/string_view.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2020-05-13 09:07:19 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2021-02-03 17:36:46 +0100
commite0743a85c5f5f2f83d91c305450e8ba192194cd8 (patch)
tree831e7cd937102f0e46b494387de31449b75447c2 /apt-pkg/contrib/string_view.h
parent6630c3e5b6af77205b043208ef15720cf270075c (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