summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/strtoumax.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2014-07-13 00:19:39 +0000
committerrmacklem <rmacklem@FreeBSD.org>2014-07-13 00:19:39 +0000
commitf7a09fd7e78f54100fde4eab7dcd439162f0c05a (patch)
treeaf8110f46977e0a01ed7d5b03ee940194e2cead3 /contrib/diff/lib/strtoumax.c
parent0cff4b03ddab4866935fdab21800c42ee8c1c6b2 (diff)
downloadFreeBSD-src-f7a09fd7e78f54100fde4eab7dcd439162f0c05a.zip
FreeBSD-src-f7a09fd7e78f54100fde4eab7dcd439162f0c05a.tar.gz
MFC: r268008
There might be a potential race condition for the NFSv4 client when a newly created file has another open done on it that update the open mode. This patch moves the code that updates the open mode up into the block where the mutex is held to ensure this cannot happen. No bug caused by this potential race has been observed, but this fix is a safety belt to ensure it cannot happen.
Diffstat (limited to 'contrib/diff/lib/strtoumax.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud