summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2018-06-20 12:10:46 +0000
committersthen <sthen@openbsd.org>2018-06-20 12:10:46 +0000
commitea240ac3a88544a1cb87856bb23080cf4ddd5b2c (patch)
tree1abc3e9a728ce3824ddf418654d647a2491bf93d /lib/libc/stdlib
parentFix formatting. (diff)
downloadwireguard-openbsd-ea240ac3a88544a1cb87856bb23080cf4ddd5b2c.tar.xz
wireguard-openbsd-ea240ac3a88544a1cb87856bb23080cf4ddd5b2c.zip
dhclient.c r1.569 started writing some files before calling daemon(),
which involved doing a write_option_db() call at a different point in bind_lease(). However one of the parameters was in a variable that was also used for iterating a TAILQ so this did not have the intended contents (it was always NULL at the end of TAILQ_FOREACH*, resulting in a null deref when dhclient -L is used). Fix by using a new temporary variable. ok krw@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions