Bug 111430 - subscript out of range
Summary: subscript out of range
Keywords:
Status: CLOSED DUPLICATE of bug 80826
Alias: None
Product: Fedora
Classification: Fedora
Component: vixie-cron
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-03 17:25 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:00:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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