diff options
| author | 2018-06-20 12:10:46 +0000 | |
|---|---|---|
| committer | 2018-06-20 12:10:46 +0000 | |
| commit | ea240ac3a88544a1cb87856bb23080cf4ddd5b2c (patch) | |
| tree | 1abc3e9a728ce3824ddf418654d647a2491bf93d /lib/libc/stdlib | |
| parent | Fix formatting. (diff) | |
| download | wireguard-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
