diff options
author | 2009-08-11 11:07:36 +0000 | |
---|---|---|
committer | 2009-08-11 11:07:36 +0000 | |
commit | 03cd2589c7264f16e363a4b3a8fed27f4120c5a0 (patch) | |
tree | 65eb737e8dd01877e1a3e36b1bd6c976eda9d741 /usr.bin/tmux | |
parent | sync (diff) | |
download | wireguard-openbsd-03cd2589c7264f16e363a4b3a8fed27f4120c5a0.tar.xz wireguard-openbsd-03cd2589c7264f16e363a4b3a8fed27f4120c5a0.zip |
Fix a few bugs in nfsrv_rename() error recovery code.
- Prevent a double vrele() by setting the vnode pointer to NULL.
- Check if vnode pointers have been set to NULL before trying to
vrele().
- don't double free the component path name buffer.
- Add a workaround for multiple vnode pointers all pointing to the
same vnode and the code doing vrele() on all of them, leading to
botched refcounts. This is a horrible hack, but a real fix is being
worked on.
OK blambert@
Diffstat (limited to 'usr.bin/tmux')
0 files changed, 0 insertions, 0 deletions