mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-22 02:20:56 -04:00
BUG/MINOR: contrib/modsecurity: update pointer on the end of the frame
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.
This commit is contained in:
parent
f21185f236
commit
ee07dbeca5
1 changed files with 2 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue