Bug 111430

Summary: subscript out of range
Product: [Fedora] Fedora Reporter: d.binderman
Component: vixie-cronAssignee: Jens Petersen <petersen>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
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: 2006-02-21 19:00:16 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 2003-12-03 17:25:48 UTC
Description of problem:
I just tried to compile package vixie-cron-3.0.1-76 from Fedora.

The compiler said

entry.c(152): warning #175: subscript out of range

The source code is

	bit_set(e->hour, (LAST_HOUR-FIRST_HOUR+1));

It makes no sense to set a bit one past the size of the array.

I am not sure what the fix is for this.



Version-Release number of selected component (if applicable):
vixie-cron-3.0.1-76 

How reproducible:


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


Expected results:


Additional info:

Comment 1 Miloslav Trmac 2004-02-07 16:46:42 UTC

*** This bug has been marked as a duplicate of 80826 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:00:16 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.