Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150726040
D56235.id174859.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D56235.id174859.diff
View Options
diff --git a/usr.sbin/cron/cron/database.c b/usr.sbin/cron/cron/database.c
--- a/usr.sbin/cron/cron/database.c
+++ b/usr.sbin/cron/cron/database.c
@@ -166,8 +166,10 @@
fname[sizeof(fname)-1] = '\0';
if (snprintf(tabname, sizeof tabname, CRON_TAB(fname))
- >= sizeof(tabname))
- continue; /* XXX log? */
+ >= (int)sizeof(tabname)) {
+ log_it("CRON", getpid(), "TABNAME TOO LONG", fname);
+ continue;
+ }
process_crontab(fname, fname, tabname,
&statbuf, &new_db, old_db);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 3:46 PM (2 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30824610
Default Alt Text
D56235.id174859.diff (506 B)
Attached To
Mode
D56235: cron: log when a crontab path is too long
Attached
Detach File
Event Timeline
Log In to Comment