doc/share/security/patches/SA-08:08/nmount.patch
Bjoern A. Zeeb 3571e53040 Import FreeBSD Security Advisories and Errata Notices, as well as their
patches for easier mirroring, to eliminate a special copy, to make
www.freebsd.org/security a full copy of security.freebsd.org and be
eventually be the same.

For now files are just sitting there.   The symlinks are missing.

Discussed on:	www (repository location)
Discussed with:	simon (so)
2012-08-15 06:19:40 +00:00

17 lines
560 B
Diff

Index: sys/kern/vfs_mount.c
===================================================================
RCS file: /usr/ncvs/src/sys/kern/vfs_mount.c,v
retrieving revision 1.265.2.3
diff -u -r1.265.2.3 vfs_mount.c
--- sys/kern/vfs_mount.c 6 Apr 2008 10:02:20 -0000 1.265.2.3
+++ sys/kern/vfs_mount.c 17 Jul 2008 15:39:37 -0000
@@ -1830,7 +1830,8 @@
}
if (*t != NULL)
continue;
- sprintf(errmsg, "mount option <%s> is unknown", p);
+ snprintf(errmsg, sizeof(errmsg),
+ "mount option <%s> is unknown", p);
printf("%s\n", errmsg);
ret = EINVAL;
}