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)
This commit is contained in:
Bjoern A. Zeeb 2012-08-15 06:19:40 +00:00
parent 01c8718f26
commit 3571e53040
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39381
1185 changed files with 317546 additions and 0 deletions

View file

@ -0,0 +1,30 @@
Index: sys/i386/i386/sys_machdep.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/sys_machdep.c,v
retrieving revision 1.47.2.3
diff -u -p -r1.47.2.3 sys_machdep.c
--- sys/i386/i386/sys_machdep.c 7 Oct 2002 17:20:00 -0000 1.47.2.3
+++ sys/i386/i386/sys_machdep.c 4 May 2005 01:51:03 -0000
@@ -342,10 +342,6 @@ i386_get_ldt(p, args)
uap->start, uap->num, (void *)uap->descs);
#endif
- /* verify range of LDTs exist */
- if ((uap->start < 0) || (uap->num <= 0))
- return(EINVAL);
-
s = splhigh();
if (pcb_ldt) {
@@ -357,7 +353,10 @@ i386_get_ldt(p, args)
num = min(uap->num, nldt);
lp = &ldt[uap->start];
}
- if (uap->start + num > nldt) {
+
+ if ((uap->start > (unsigned int)nldt) ||
+ ((unsigned int)num > (unsigned int)nldt) ||
+ ((unsigned int)(uap->start + num) > (unsigned int)nldt)) {
splx(s);
return(EINVAL);
}

View file

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQBCes6KFdaIBMps37IRArNuAJ9t0wF0rkHOLMYn2O4cixmSagKZgACfUSP2
Bu/QfwILX4Ra0hRLc2XUdXE=
=ye9M
-----END PGP SIGNATURE-----

View file

@ -0,0 +1,30 @@
Index: sys/i386/i386/sys_machdep.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/sys_machdep.c,v
retrieving revision 1.100
diff -u -p -r1.100 sys_machdep.c
--- sys/i386/i386/sys_machdep.c 19 Apr 2005 13:52:27 -0000 1.100
+++ sys/i386/i386/sys_machdep.c 4 May 2005 00:39:36 -0000
@@ -476,10 +476,6 @@ i386_get_ldt(td, uap)
uap->start, uap->num, (void *)uap->descs);
#endif
- /* verify range of LDTs exist */
- if ((uap->start < 0) || (uap->num <= 0))
- return(EINVAL);
-
if (pldt) {
nldt = pldt->ldt_len;
num = min(uap->num, nldt);
@@ -489,7 +485,10 @@ i386_get_ldt(td, uap)
num = min(uap->num, nldt);
lp = &ldt[uap->start];
}
- if (uap->start + num > nldt)
+
+ if ((uap->start > (unsigned int)nldt) ||
+ ((unsigned int)num > (unsigned int)nldt) ||
+ ((unsigned int)(uap->start + num) > (unsigned int)nldt))
return(EINVAL);
error = copyout(lp, uap->descs, num * sizeof(union descriptor));

View file

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQBCes6PFdaIBMps37IRAjuYAJ9sSIPvIuopeKMT2bBsqR+nT5im8ACbBNrD
Bznep/YMwEweVt7hebxB71s=
=lm7h
-----END PGP SIGNATURE-----