From dba6482b1a20250cbbd0174db64acf4630e43db6 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 8 Oct 2007 11:32:30 +0000 Subject: [PATCH] We may in fact not have any headers. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2090 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index f79f2230..b9812fc6 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -362,7 +362,7 @@ http_dissect_hdrs(struct worker *w, struct http *hp, int fd, char *p, txt t) hp->nhd = HTTP_HDR_FIRST; hp->conds = 0; r = NULL; /* For FlexeLint */ - assert(p < t.e); /* http_header_complete() guarantees this */ + assert(p <= t.e); /* http_header_complete() guarantees this */ for (; p < t.e; p = r) { /* XXX: handle continuation lines */ q = strchr(p, '\n'); -- 2.39.5