Bug 54870 - keygen.c only use [a-zA-Z0] instead [a-zA-Z0-9]
keygen.c only use [a-zA-Z0] instead [a-zA-Z0-9]
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: bind (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-22 04:55 EDT by Alexander Kanevskiy
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
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.

Note You need to log in before you can comment on or make changes to this bug.