INN commit: trunk/innd (art.c)

INN Commit rra at isc.org
Sat May 2 11:57:03 UTC 2015


    Date: Saturday, May 2, 2015 @ 04:57:03
  Author: iulius
Revision: 9835

innd/art.c:  Fix a dereferencing issue when parsing Injection-Info: header field

Thanks to David Binderman for the patch.

Modified:
  trunk/innd/art.c

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

Modified: art.c
===================================================================
--- art.c	2015-05-01 13:07:08 UTC (rev 9834)
+++ art.c	2015-05-02 11:57:03 UTC (rev 9835)
@@ -1691,7 +1691,7 @@
       } else if (HDR_FOUND(HDR__INJECTION_INFO)) {
         begin = (char *) skip_cfws(HDR(HDR__INJECTION_INFO));
 
-        if (begin == '\0')
+        if (*begin == '\0')
           continue;
 
         /* The path identity ends with ';' or CFWS. */



More information about the inn-committers mailing list