diff options
author | 2003-01-20 02:52:50 +0000 | |
---|---|---|
committer | 2003-01-20 02:52:50 +0000 | |
commit | 58f68c37912e597c6e47d69daad60bfac3c659f6 (patch) | |
tree | 7a997766aec9d831ecf3ef3f775c28ed5946102e /lib/libpthread/man | |
parent | sync (diff) | |
download | wireguard-openbsd-58f68c37912e597c6e47d69daad60bfac3c659f6.tar.xz wireguard-openbsd-58f68c37912e597c6e47d69daad60bfac3c659f6.zip |
In dirswitch(), don't free dir_name until right before allocating
it again. This removes a potential double-free problem, whereby
this function could free dir_name and then immediately return due
to invalid directory syntax (without ever reassigning dir_name),
then re-enter and free dir_name again. Fix from Stefan Esser.
Diffstat (limited to 'lib/libpthread/man')
0 files changed, 0 insertions, 0 deletions