summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authormoritz <moritz@openbsd.org>2006-04-04 11:21:50 +0000
committermoritz <moritz@openbsd.org>2006-04-04 11:21:50 +0000
commit2e6f60c16b348ead623d2047a563b9451e8fbf56 (patch)
tree7ae045a1d97f12b8d018d56bb1fde400b41060a8 /usr.bin/rcs/rcsprog.c
parentFix a comment (diff)
downloadwireguard-openbsd-2e6f60c16b348ead623d2047a563b9451e8fbf56.tar.xz
wireguard-openbsd-2e6f60c16b348ead623d2047a563b9451e8fbf56.zip
When tdelete() is used to delete the root node, don't return a
pointer to the freed root node, but return a pointer to the new root node. POSIX does not define, what should be returned in that case. Fixes Coverity CID 2528. ok millert@ otto@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
0 files changed, 0 insertions, 0 deletions