summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-09-06 19:59:29 +0000
committerpeter <peter@FreeBSD.org>2002-09-06 19:59:29 +0000
commit1ec96b6cd8977d3142ed0f2b51bcea9b0a890157 (patch)
tree50e8cd6fbc269ce95d971a72d2f7fd7520116923 /sys/dev/en
parent5419354c9fc7ce9e7f3f8f8c77527836b83b3d93 (diff)
downloadFreeBSD-src-1ec96b6cd8977d3142ed0f2b51bcea9b0a890157.zip
FreeBSD-src-1ec96b6cd8977d3142ed0f2b51bcea9b0a890157.tar.gz
Bandaid for mount_nfs segfaulting with the more obscure mount options
in /etc/fstab. This isn't a real fix though and I'm still not sure why it started failing. mount(8) breaks up the nfs args into seperate repeated '-o option=value' arguments. But, the altflags variable that we use to track things is incrementally built up each time we see the next option and shows us the cumulative set of flags, not just the flag that we are currently looking at. As a result, the strstr hack for looking up flags in a giant -o opt=val,opt=val, etc string was failing and causing a segfault. I do not know what changed recently that caused this to suddenly break, but the code has been rather bogus for some time.
Diffstat (limited to 'sys/dev/en')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud