Author: hawk Date: Tue Aug 2 12:12:58 2005 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix for CAN-2005-1038, taken from Fedora
---- Files affected: SOURCES: vixie-cron-CAN-2005-1038.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/vixie-cron-CAN-2005-1038.patch diff -u /dev/null SOURCES/vixie-cron-CAN-2005-1038.patch:1.1 --- /dev/null Tue Aug 2 14:12:58 2005 +++ SOURCES/vixie-cron-CAN-2005-1038.patch Tue Aug 2 14:12:53 2005 @@ -0,0 +1,24 @@ +--- vixie-cron-4.1/crontab.c.CAN-2005-1038 2005-04-14 18:39:04.356618000 -0400 ++++ vixie-cron-4.1/crontab.c 2005-04-14 18:43:50.262425000 -0400 +@@ -497,6 +497,21 @@ + ProgramName); + goto remove; + } ++ ++ if ( (!S_ISREG(statbuf.st_mode)) ++ ||(S_ISLNK(statbuf.st_mode)) ++ ||(S_ISDIR(statbuf.st_mode)) ++ ||(S_ISCHR(statbuf.st_mode)) ++ ||(S_ISBLK(statbuf.st_mode)) ++ ||(S_ISFIFO(statbuf.st_mode)) ++ ||(S_ISSOCK(statbuf.st_mode)) ++ ) ++ { ++ fprintf(stderr, "%s: illegal crontab\n", ++ ProgramName); ++ goto remove; ++ } ++ + fprintf(stderr, "%s: installing new crontab\n", ProgramName); + fclose(NewCrontab); + NewCrontab=fopen(Filename,"r+"); ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit