[BusyBox-cvs] [BusyBox 0000063]: crond doesn't execute a crontab entry with no trailing EOL
bugs at busybox.net
bugs at busybox.net
Fri Aug 12 10:20:40 UTC 2005
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=63
======================================================================
Reported By: sbyrnand
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 63
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 01-26-2005 14:31 PST
Last Modified: 08-12-2005 03:20 PDT
======================================================================
Summary: crond doesn't execute a crontab entry with no
trailing EOL
Description:
Spent about half an hour trying to figure out why my test crontab entry
wasn't being executed and finally discovered that if I have a single line
crontab entry with no end of line (LF ?) character following it, the entry
is ignored.
I havn't tested it with multiple lines with the last line missing an end
of line character, but it seems reasonable to assume the last entry wont
get executed, and probably needs checking too.
Since many editors such as e3 won't put an end of line character at the
end of a file unless you actually press enter, I can see a few people
falling for this problem ;)
======================================================================
----------------------------------------------------------------------
psaksa - 08-12-05 03:20
----------------------------------------------------------------------
Attached patch
- fixes whitespace issues during crontab parsing
- fixes memory overflow issues with libbb trim function (by Vladimir N.
Oleynik)
Issue History
Date Modified Username Field Change
======================================================================
01-26-05 14:31 sbyrnand New Issue
03-16-05 12:27 andersen Assigned To andersen => BusyBox
03-17-05 05:18 psaksa Issue Monitored: psaksa
08-12-05 03:10 psaksa File Added: busybox-1.00-p03-crond.txt
08-12-05 03:20 psaksa Note Added: 0000407
======================================================================
More information about the busybox-cvs
mailing list