[BusyBox 0000063]: crond doesn't execute a crontab entry with no trailing EOL
bugs at busybox.net
bugs at busybox.net
Thu Sep 1 10:24:18 UTC 2005
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 01-26-2005 14:31 PST
Last Modified: 09-01-2005 03:24 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)
----------------------------------------------------------------------
landley - 09-01-05 03:24
----------------------------------------------------------------------
r11310
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
08-13-05 11:03 swth Issue Monitored: swth
09-01-05 03:24 landley Status assigned => closed
09-01-05 03:24 landley Note Added: 0000479
======================================================================
More information about the busybox-cvs
mailing list