Disable shell() inside an eval("...") for safety.

Based on email from Tim Chase.
This commit is contained in:
Dianne Skoll
2025-05-23 11:48:06 -04:00
parent af8c1630c3
commit 4c2b6031cd
5 changed files with 50 additions and 1 deletions
+1
View File
@@ -252,6 +252,7 @@ typedef struct {
#define RUN_CMDLINE 0x01
#define RUN_SCRIPT 0x02
#define RUN_NOTOWNER 0x04
#define RUN_IN_EVAL 0x08
/* Flags for the SimpleCalendar format */
#define SC_AMPM 0 /* Time shown as 3:00am, etc. */