[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: r3476 - trunk/varnish-cache/lib/libvcl
From: phk () projects ! linpro ! no (phk at projects ! linpro ! no)
Date: 2008-12-20 23:47:45
Message-ID: 20081220234745.8D2BC1EC114 () projects ! linpro ! no
[Download RAW message or body]
Author: phk
Date: 2008-12-21 00:47:45 +0100 (Sun, 21 Dec 2008)
New Revision: 3476
Modified:
trunk/varnish-cache/lib/libvcl/vcc_action.c
Log:
This is a bandaid for a pointer dereference when "restart" is used.
Modified: trunk/varnish-cache/lib/libvcl/vcc_action.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_action.c 2008-12-20 23:27:00 UTC (rev 3475)
+++ trunk/varnish-cache/lib/libvcl/vcc_action.c 2008-12-20 23:47:45 UTC (rev 3476)
@@ -85,7 +85,8 @@
ERRCHK(tl);
}
Fb(tl, 1, "VRT_done(sp, VCL_RET_RESTART);\n");
- vcc_ProcAction(tl->curproc, VCL_RET_RESTART, tl->t);
+ assert(VCL_RET_RESTART == (1 << 9)); /* XXX: BANDAID FIXME! */
+ vcc_ProcAction(tl->curproc, 9, tl->t);
vcc_NextToken(tl);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic