summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-08-30 15:16:20 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-08-30 15:16:20 +0000
commite8719af2ad60353ba5dd0d3f18ae595c513994ec (patch)
tree04e65882e81318eeb2ccaf3e7a1849aaffeb90ba /sys/dev
parent5ccea37040f38e3b0279d365d87480267598bdbd (diff)
if nfs_namei() fails, there's no ni_startdir and the pathname buffer has
already been freed, thus make the callers of nfs_namei() bail out early, instead of jumping to nfsmout as there they will try to vrele() vnodes that don't exists (NULL pointers) and free the pathname buffer. this is way nicer then adding checks after the nfsmout label. OK blambert@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions