projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21185f
)
BUG/MINOR: contrib/modsecurity: update pointer on the end of the frame
author
Dragan Dosen
<ddosen@haproxy.com>
Fri, 1 Jun 2018 13:50:57 +0000
(15:50 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 4 Jun 2018 15:41:25 +0000
(17:41 +0200)
Similar to commit 94bb4c6 ("BUG/MINOR: spoa: Update pointer on the end of
the frame when a reply is encoded").
This patch should be backported to 1.8.
contrib/modsecurity/spoa.c
patch
|
blob
|
history
diff --git
a/contrib/modsecurity/spoa.c
b/contrib/modsecurity/spoa.c
index
81e3118
..
225db29
100644
(file)
--- a/
contrib/modsecurity/spoa.c
+++ b/
contrib/modsecurity/spoa.c
@@
-1374,7
+1374,8
@@
process_frame_cb(evutil_socket_t fd, short events, void *arg)
frame->flags = 0;
ret = prepare_agentack(frame);
- p = frame->buf + ret;
+ p = frame->buf + ret;
+ end = frame->buf+max_frame_size;
if (frame->modsec_code != -1) {
DEBUG(frame->worker, "Add action : set variable code=%u",