Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.

Bug 54870

Summary: keygen.c only use [a-zA-Z0] instead [a-zA-Z0-9]
Product: [Retired] Red Hat Raw Hide Reporter: Alexander Kanevskiy <kad>
Component: bindAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-02 06:19:27 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Alexander Kanevskiy 2001-10-22 04:55:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4+) Gecko/20010910

Description of problem:
keygen.c (in bind-9*.src.rpm) only use [a-zA-Z0] instead [a-zA-Z0-9]
patch attached

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. make keygen
2. ./keygen
3.
	

Actual Results:  key don't include any numbers except 0

Expected Results:  key must have a-zA-Z0-9

Additional info:

--- keygen.c.kad        Mon Oct 22 11:37:41 2001
+++ keygen.c    Mon Oct 22 11:36:56 2001
@@ -11,7 +11,7 @@
                tmp=fgetc(f);
                if((tmp>='a' && tmp<='z') ||
                   (tmp>='A' && tmp<='Z') ||
-                  (tmp>='0' && tmp<='0'))
+                  (tmp>='0' && tmp<='9'))
                        key[i++]=tmp;
        }
        puts(key);
Comment 1 Bernhard Rosenkraenzer 2001-11-05 10:53:03 EST
Fixed in CVS; this will be in the 9.2.0-0.rc8.3 or 9.2.0-0.rc9.1 or 9.2.0-1 package, depending on what the next release of bind will be. 
 
Comment 2 Alexander Kanevskiy 2001-12-02 06:19:22 EST
-rw-rw-r--    1 529      529       3832538 Nov 26 23:32 bind-9.2.0-1.src.rpm

keygen.c - bug still present.