diff options
author | tb <> | 2021-12-23 23:48:38 +0000 |
---|---|---|
committer | tb <> | 2021-12-23 23:48:38 +0000 |
commit | a8c6bd3f4864e435533c00c9ae6b7e758b0f76d8 (patch) | |
tree | 03beb7b181535d4187f652d4b27e9e147a09a9bf /src/lib/libc/stdlib/mrand48.c | |
parent | 26baf08c7f85a1517e13b4ddbd743ec27f1eb52b (diff) | |
download | openbsd-a8c6bd3f4864e435533c00c9ae6b7e758b0f76d8.tar.gz openbsd-a8c6bd3f4864e435533c00c9ae6b7e758b0f76d8.tar.bz2 openbsd-a8c6bd3f4864e435533c00c9ae6b7e758b0f76d8.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/mrand48.c')
0 files changed, 0 insertions, 0 deletions