diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-08-10 23:35:21 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-08-10 23:35:21 +0000 |
commit | 1bdb86a24cf6618285095487fd929cfee49c6654 (patch) | |
tree | 409bffa3fb6e9eab329dca9fd748c68b5bc0fb43 | |
parent | 48ead34f9174063317e640e673167417a68cdac4 (diff) | |
download | src-test2-1bdb86a24cf6618285095487fd929cfee49c6654.tar.gz src-test2-1bdb86a24cf6618285095487fd929cfee49c6654.zip |
Notes
-rw-r--r-- | UPDATING | 3 | ||||
-rw-r--r-- | sys/conf/newvers.sh | 2 | ||||
-rw-r--r-- | sys/i386/ibcs2/ibcs2_stat.c | 4 |
3 files changed, 8 insertions, 1 deletions
@@ -17,6 +17,9 @@ minimal number of processes, if possible, for that patch. For those updates that don't have an advisory, or to be safe, you can do a full build and install as described in the COMMON ITEMS section. +20030810: p13 FreeBSD-SA-03:10.iBCS2 + iBCS2 system call translator for statfs leaked information. + 20030810: p12 FreeBSD-SA-03:09.signal Repair range-checking errors in signal handling. diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index f4affe5f374b..3c9ebd8e1a75 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -36,7 +36,7 @@ TYPE="FreeBSD" REVISION="4.7" -BRANCH="RELEASE-p12" +BRANCH="RELEASE-p13" RELEASE="${REVISION}-${BRANCH}" VERSION="${TYPE} ${RELEASE}" diff --git a/sys/i386/ibcs2/ibcs2_stat.c b/sys/i386/ibcs2/ibcs2_stat.c index 863e6e0b7d99..eb3bcb188a09 100644 --- a/sys/i386/ibcs2/ibcs2_stat.c +++ b/sys/i386/ibcs2/ibcs2_stat.c @@ -82,6 +82,10 @@ cvt_statfs(sp, buf, len) { 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; |