Module Name:    src
Committed By:   msaitoh
Date:           Mon Jul 29 02:12:58 UTC 2013

Modified Files:
        src/dist/bind/lib/dns/rdata/generic [netbsd-5-1]: keydata_65533.c

Log Message:
Patch for bind CVE-2013-4854.


To generate a diff of this commit:
cvs rdiff -u -r1.1.4.4 -r1.1.4.5 \
    src/dist/bind/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/dist/bind/lib/dns/rdata/generic/keydata_65533.c
diff -u src/dist/bind/lib/dns/rdata/generic/keydata_65533.c:1.1.4.4 src/dist/bind/lib/dns/rdata/generic/keydata_65533.c:1.1.4.5
--- src/dist/bind/lib/dns/rdata/generic/keydata_65533.c:1.1.4.4	Wed Jul 25 12:13:31 2012
+++ src/dist/bind/lib/dns/rdata/generic/keydata_65533.c	Mon Jul 29 02:12:58 2013
@@ -1,4 +1,4 @@
-/*        $NetBSD: keydata_65533.c,v 1.1.4.4 2012/07/25 12:13:31 jdc Exp $      */
+/*        $NetBSD: keydata_65533.c,v 1.1.4.5 2013/07/29 02:12:58 msaitoh Exp $      */
 
 /*
  * Copyright (C) 2009, 2012  Internet Systems Consortium, Inc. ("ISC")
@@ -178,7 +178,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);

Reply via email to