]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-parse-util: cover negative numbers, leading spaces, and more range errors 1844/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 11 Nov 2015 09:05:00 +0000 (10:05 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 11 Nov 2015 09:09:18 +0000 (10:09 +0100)
commit5c280bcc5a726e53d7108ad2bbed9cd47df6a7b6
tree8c521d56df8e5635c6f4281b141b6ac4b18c063e
parent7042fc14ff2bd30648aea6602c95d3cf6946e7be
test-parse-util: cover negative numbers, leading spaces, and more range errors

Motivated by https://github.com/systemd/systemd/issues/1829 where negative
numbers were mis-handled on 32 bit platforms by safe_atou*().
src/test/test-parse-util.c