doc/share/security/patches/SA-04:09/kadmin.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

11 lines
421 B
Diff

--- crypto/heimdal/kadmin/version4.c Thu Oct 9 14:44:32 2003
+++ crypto/heimdal/kadmin/version4.c Thu Apr 29 07:29:23 2004
@@ -965,6 +965,8 @@
if(term_flag)
exit(0);
if(first) {
+ if (len < 2)
+ krb5_errx(context, 1, "received too short len (%d < 2)", len);
/* first time around, we have already read len, and two
bytes of the version string */
krb5_data_alloc(&message, len);