Module Name: src
Committed By: msaitoh
Date: Mon Jul 29 02:07:37 UTC 2013
Modified Files:
src/external/bsd/bind/dist/lib/dns/rdata/generic [netbsd-6-0]:
keydata_65533.c
Log Message:
Patch for bind CVE-2013-4854.
To generate a diff of this commit:
cvs rdiff -u -r1.3.4.1 -r1.3.4.1.4.1 \
src/external/bsd/bind/dist/lib/dns/rdata/generic/keydata_65533.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/bind/dist/lib/dns/rdata/generic/keydata_65533.c
diff -u src/external/bsd/bind/dist/lib/dns/rdata/generic/keydata_65533.c:1.3.4.1 src/external/bsd/bind/dist/lib/dns/rdata/generic/keydata_65533.c:1.3.4.1.4.1
--- src/external/bsd/bind/dist/lib/dns/rdata/generic/keydata_65533.c:1.3.4.1 Tue Jun 5 21:15:11 2012
+++ src/external/bsd/bind/dist/lib/dns/rdata/generic/keydata_65533.c Mon Jul 29 02:07:37 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: keydata_65533.c,v 1.3.4.1 2012/06/05 21:15:11 bouyer Exp $ */
+/* $NetBSD: keydata_65533.c,v 1.3.4.1.4.1 2013/07/29 02:07:37 msaitoh Exp $ */
/*
* Copyright (C) 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
@@ -196,7 +196,7 @@ fromwire_keydata(ARGS_FROMWIRE) {
UNUSED(options);
isc_buffer_activeregion(source, &sr);
- if (sr.length < 4)
+ if (sr.length < 16)
return (ISC_R_UNEXPECTEDEND);
isc_buffer_forward(source, sr.length);