diff options
author | pb <pb@FreeBSD.org> | 1999-06-25 13:43:30 +0000 |
---|---|---|
committer | pb <pb@FreeBSD.org> | 1999-06-25 13:43:30 +0000 |
commit | 5ed26c8f51820fc71578a9f1abc4fa06760f89d3 (patch) | |
tree | b58cd2c103b10b5a1f358dfde6ce1fe2caff507b /usr.bin/ftp | |
parent | 93ee80e2fd7ce70f607cb2c3402d9202e4ccd03f (diff) | |
download | FreeBSD-src-5ed26c8f51820fc71578a9f1abc4fa06760f89d3.zip FreeBSD-src-5ed26c8f51820fc71578a9f1abc4fa06760f89d3.tar.gz |
Never return the root node itself from rn_match(); return NULL instead.
This caused a panic in rtfreee() called with a root node from the
routing socket code (when processing a RTM_GET message looking for
the default route while there is none).
Since no existing code seems to have any use getting the root node
from rn_match(), it seems cleaner never to return it rather than
check for this condition at the caller's.
PR: kern/12265
Diffstat (limited to 'usr.bin/ftp')
0 files changed, 0 insertions, 0 deletions