[112606] trunk/base/src/darwintracelib1.0/darwintrace.c
cal at macports.org
cal at macports.org
Sun Oct 27 15:36:08 PDT 2013
Revision: 112606
https://trac.macports.org/changeset/112606
Author: cal at macports.org
Date: 2013-10-27 15:36:08 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
darwintrace: fix allowing access to "/", remove outdated comment
Modified Paths:
--------------
trunk/base/src/darwintracelib1.0/darwintrace.c
Modified: trunk/base/src/darwintracelib1.0/darwintrace.c
===================================================================
--- trunk/base/src/darwintracelib1.0/darwintrace.c 2013-10-27 21:05:19 UTC (rev 112605)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c 2013-10-27 22:36:08 UTC (rev 112606)
@@ -102,10 +102,6 @@
/* global variables (only checked when setup is first called)
* DARWINTRACE_LOG
* path to the log file (no logging happens if it's unset).
- * DARWINTRACE_SANDBOX_BOUNDS
- * : separated allowed paths for the creation of files.
- * \: -> :
- * \\ -> \
*/
/*
@@ -267,7 +263,7 @@
char p;
/* '/' is the allow all wildcard */
- if (strcmp(prefix, "/") == 0) {
+ if (strcmp(str, "/") == 0) {
return 1;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/dcaadbe2/attachment.html>
More information about the macports-changes
mailing list