summaryrefslogtreecommitdiffstats
path: root/sys/rpc/auth_unix.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-07-23 08:45:25 +0000
committerkib <kib@FreeBSD.org>2008-07-23 08:45:25 +0000
commit42aeaf36b0bea599f34b9841feaa487a33e73f4b (patch)
treefc001659e930de9f8a6db6c444650340bd3078f4 /sys/rpc/auth_unix.c
parent5a7f32b6bb42d76d6958416cc0df71e47b7a914e (diff)
downloadFreeBSD-src-42aeaf36b0bea599f34b9841feaa487a33e73f4b.zip
FreeBSD-src-42aeaf36b0bea599f34b9841feaa487a33e73f4b.tar.gz
Do the pargs_hold() on the copy of the pointer to the p_args of the
child process immediately after bulk bcopy() without dropping the process lock. Since process is not single-threaded when forking, dropping and reacquiring the lock allows an other thread to change the process title of the parent in between, and results in hold being done on the invalid pointer. The problem manifested itself as the double free of the old p_args. Reported by: kris Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/rpc/auth_unix.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud