Bug 117378

Summary: subscript out of range
Product: [Fedora] Fedora Reporter: d.binderman
Component: ntpAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2004-08-30 11:04:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-03-03 13:30:37 UTC
Description of problem:

I just tried to compile Core2 Test1 package ntp-4.2.0-5

The compiler said

ntp-keygen.c(717): warning #175: subscript out of range

The source code is

                md5key[16] = '\0';

but the declaration of the local variable md5key is 

        u_char  md5key[16];     /* MD5 key */

so md5key[16] doesn't exist.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info: