[CalendarServer-changes] [15364] CalendarServer/trunk/support/python-wrapper.c

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 3 16:51:04 PST 2015


Revision: 15364
          http://trac.calendarserver.org//changeset/15364
Author:   sagen at apple.com
Date:     2015-12-03 16:51:03 -0800 (Thu, 03 Dec 2015)
Log Message:
-----------
Exit code 1 if disallowed uid in python wrapper

Modified Paths:
--------------
    CalendarServer/trunk/support/python-wrapper.c

Modified: CalendarServer/trunk/support/python-wrapper.c
===================================================================
--- CalendarServer/trunk/support/python-wrapper.c	2015-12-03 21:53:56 UTC (rev 15363)
+++ CalendarServer/trunk/support/python-wrapper.c	2015-12-04 00:51:03 UTC (rev 15364)
@@ -84,5 +84,6 @@
         return execvp(python, (char* const*)argv);
     } else {
         printf("You are not allowed to run this executable.\n");
+        return 1;
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151203/e2a86b51/attachment.html>


More information about the calendarserver-changes mailing list