diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2010-05-06 00:24:08 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2010-05-06 00:24:08 +0000 |
commit | 7ae7bc40354b7aa8abaa7fc0dd815b3eabf61548 (patch) | |
tree | 9bb0389becc92840f0643fdeefac07da6181a8ae /sys/kern/subr_rman.c | |
parent | c7a40a3bf199e33f360da2f8790813cefa3467e5 (diff) | |
download | FreeBSD-src-7ae7bc40354b7aa8abaa7fc0dd815b3eabf61548.zip FreeBSD-src-7ae7bc40354b7aa8abaa7fc0dd815b3eabf61548.tar.gz |
If the "-alldirs" export option was used for the V4: line, mountd
would crash in check_options() since dp == NULL for the V4: line.
This patch moves the check for options allowed on the V4: line to
ahead of where dp is used to avoid this crash.
Reported by: mamalos AT eng.auth.gr
MFC after: 1 week
Diffstat (limited to 'sys/kern/subr_rman.c')
0 files changed, 0 insertions, 0 deletions