INN commit: branches/2.5/expire (fastrm.c)

INN Commit rra at isc.org
Sat May 2 16:32:09 UTC 2015


    Date: Saturday, May 2, 2015 @ 09:32:08
  Author: iulius
Revision: 9845

expire/fastrm.c:  Fix a dereferencing issue

Modified:
  branches/2.5/expire/fastrm.c

----------+
 fastrm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: fastrm.c
===================================================================
--- fastrm.c	2015-05-02 16:30:45 UTC (rev 9844)
+++ fastrm.c	2015-05-02 16:32:08 UTC (rev 9845)
@@ -481,7 +481,7 @@
 
        FIXME: It's too hard to figure out what this code does.  It needs to be
        rewritten. */
-    if (p != '\0' && relative_threshold > 0) {
+    if (*p != '\0' && relative_threshold > 0) {
         depth = slashcount(q);
         if (depth <= relative_threshold) {
             while (p > absolute && *--p != '/')



More information about the inn-committers mailing list