INN commit: trunk/expire (fastrm.c)

INN Commit rra at isc.org
Sat May 2 16:30:46 UTC 2015


    Date: Saturday, May 2, 2015 @ 09:30:45
  Author: iulius
Revision: 9844

expire/fastrm.c:  Fix a dereferencing issue

Modified:
  trunk/expire/fastrm.c

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

Modified: fastrm.c
===================================================================
--- fastrm.c	2015-05-02 16:29:02 UTC (rev 9843)
+++ fastrm.c	2015-05-02 16:30:45 UTC (rev 9844)
@@ -480,7 +480,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