summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortb <>2021-12-23 23:48:38 +0000
committertb <>2021-12-23 23:48:38 +0000
commitbe0c9bb70eed56a8529bcbd0778458bc28f9606b (patch)
tree03beb7b181535d4187f652d4b27e9e147a09a9bf /src/lib/libc/stdlib
parentfd87613173bbc28c5d6544f9d6b096e65bfe707c (diff)
downloadopenbsd-be0c9bb70eed56a8529bcbd0778458bc28f9606b.tar.gz
openbsd-be0c9bb70eed56a8529bcbd0778458bc28f9606b.tar.bz2
openbsd-be0c9bb70eed56a8529bcbd0778458bc28f9606b.zip
Fully check the second strtoul() call in v2i_IPAddrBlocks()
This can read a value in an arbitrary base from a string that is supposed to be followed by whitespace or a colon, so it cannot be switched to strtonum(). The current checks don't allow a read past the end, but let's use the standard idiom instead. ok jsing
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions