diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-05-18 19:34:54 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-05-18 19:34:54 +0000 |
commit | 3b7f8bde24f43dadf4fdc9d58ec8bb1537ca893c (patch) | |
tree | 8b2fba9e20aa3492b27de6be36309a7ad06e3b00 /contrib/gcc | |
parent | c0c37f7027050a1df3618149e05ab8685a6a7aae (diff) | |
download | FreeBSD-src-3b7f8bde24f43dadf4fdc9d58ec8bb1537ca893c.zip FreeBSD-src-3b7f8bde24f43dadf4fdc9d58ec8bb1537ca893c.tar.gz |
In nfs_down(), if rep can be NULL, which we test for, then we should
lock and unlock conditionally, not just set the flag on it conditionally.
In practice, this bug couldn't manifest, as in the current revision of
the code, no callers pass a NULL rep.
CID: 1416
Found with: Coverity Prevent(tm)
Diffstat (limited to 'contrib/gcc')
0 files changed, 0 insertions, 0 deletions