DragonFly commits List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sbin/mount
dillon 2004/09/05 18:19:07 PDT
DragonFly src repository
Modified files:
sbin/mount getmntopts.c
Log:
The mount options matching code was incorrectly testing for string
termination or '=' of m->option[len], where len = strlen(m->option). Also,
at that particular point in the code the opt[] string has already been
stripped of any '='. The original code must have been intended to check
an unstripped opt[] string but with opt[] stripped it really just needs to
do a case case-insensitive match.
Noticed-by: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Revision Changes Path
1.4 +2 -6 src/sbin/mount/getmntopts.c
http://www.dragonflybsd.org/cvsweb/src/sbin/mount/getmntopts.c.diff?r1=1.3&r2=1.4&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]