summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-05-14 23:09:33 +0000
committerdelphij <delphij@FreeBSD.org>2009-05-14 23:09:33 +0000
commit9d8f0aff10620f8d6f8d0278f18e5665aa2a8df3 (patch)
tree601ad1c215db37453905f6f5afa29a3a353fe761 /include/rpc
parent8a00f0cfdff59e0c1247a683100e17474afd0286 (diff)
downloadFreeBSD-src-9d8f0aff10620f8d6f8d0278f18e5665aa2a8df3.zip
FreeBSD-src-9d8f0aff10620f8d6f8d0278f18e5665aa2a8df3.tar.gz
As the comment says, close() frees the variable, record. So we obtain
the length by evaluating the value from the copy, cbuf instead. This fixes a crash caused by previous commit (use-after-free) Submitted by: Dimitry Andric <dimitry andric com> Pointy hat to: delphij
Diffstat (limited to 'include/rpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud