From 8da0b50e8a8c74602eca97e261ce4ad457df5048 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 5 Dec 2002 03:55:09 +0000 Subject: [PATCH] 1406. [bug] dispatch initialises one of the LSFR's with a incorrect polynomial. [RT #4617] --- CHANGES | 3 +++ lib/dns/dispatch.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 2ae45c1df1..5ea775fe84 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1406. [bug] dispatch initialises one of the LSFR's with a incorrect + polynomial. [RT #4617] + 1405. [func] Use arc4random() if available. 1404. [bug] libbind: ns_name_ntol() could overwite a zero length diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index a54244d392..2638abcf4d 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dispatch.c,v 1.110 2002/09/04 02:26:12 jinmei Exp $ */ +/* $Id: dispatch.c,v 1.111 2002/12/05 03:55:09 marka Exp $ */ #include @@ -1324,7 +1324,7 @@ qid_allocate(dns_dispatchmgr_t *mgr, unsigned int buckets, */ isc_lfsr_init(&qid->qid_lfsr1, 0, 32, 0x80000057U, 0, reseed_lfsr, mgr); - isc_lfsr_init(&qid->qid_lfsr2, 0, 32, 0x800000c2U, + isc_lfsr_init(&qid->qid_lfsr2, 0, 32, 0x80000062U, 0, reseed_lfsr, mgr); *qidp = qid; return (ISC_R_SUCCESS);