summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-12-19 06:50:15 +0000
committermarcus <marcus@FreeBSD.org>2008-12-19 06:50:15 +0000
commit0abe5b951a7aaf746e27a5f530787ec38ea88fac (patch)
tree3bf1db210e6cd2863aba11fbfa3c4420e85a0395 /sys/netinet/if_ether.c
parent2368f18ac465224da2b90e0037f39d141448e123 (diff)
downloadFreeBSD-src-0abe5b951a7aaf746e27a5f530787ec38ea88fac.zip
FreeBSD-src-0abe5b951a7aaf746e27a5f530787ec38ea88fac.tar.gz
Do not segfault when procstat -f or procstat -v is called on a process not
owned by the current user. If kinfo_getfile() or kinfo_getvmmap() return NULL, simply exit, and do not try and derefernce the memory. Reviewed by: peter Approved by: peter
Diffstat (limited to 'sys/netinet/if_ether.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud