doc/share/security/patches/SA-03:10/ibcs2.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

20 lines
618 B
Diff

Index: sys/i386/ibcs2/ibcs2_stat.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/ibcs2/ibcs2_stat.c,v
retrieving revision 1.23
diff -c -p -r1.23 ibcs2_stat.c
*** sys/i386/ibcs2/ibcs2_stat.c 22 Jun 2003 08:41:42 -0000 1.23
--- sys/i386/ibcs2/ibcs2_stat.c 7 Aug 2003 17:50:44 -0000
*************** cvt_statfs(sp, buf, len)
*** 83,88 ****
--- 83,92 ----
{
struct ibcs2_statfs ssfs;
+ if (len < 0)
+ return (EINVAL);
+ else if (len > sizeof(ssfs))
+ len = sizeof(ssfs);
bzero(&ssfs, sizeof ssfs);
ssfs.f_fstyp = 0;
ssfs.f_bsize = sp->f_bsize;