BUG/MINOR: spoe: corrected fragmentation string size
This patch must be backported to 1.9 and 1.8.
diff --git a/src/flt_spoe.c b/src/flt_spoe.c
index 4cf9237..b9b33ac 100644
--- a/src/flt_spoe.c
+++ b/src/flt_spoe.c
@@ -450,7 +450,7 @@
if (agent != NULL && (agent->flags & SPOE_FL_RCV_FRAGMENTATION)) {
if (chk->data) chk->area[chk->data++] = ',';
memcpy(chk->area+chk->data, "fragmentation", 13);
- chk->data += 5;
+ chk->data += 13;
}
if (spoe_encode_buffer(chk->area, chk->data, &p, end) == -1)
goto too_big;