[LMA] Heka crashes when payload >= 64K is injected
Bug #1504141 reported by
Patrick Petit
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
Fix Committed
|
High
|
Simon Pasquier |
Bug Description
Heka crashes when payload >= 64KB is injected in the pipeline. This has been encountered with a rogue OpenStack notification exceeding that size. Decoders should protect themselves against that using defensive programing technique. I tested that patch which seems to do the job. Give 1KB safety to take into account the size of the message envelop.
function process_message ()
local log = read_message(
local m = grammar:match(log)
if not m then
return -1
end
if string.
return -1
end
Changed in fuel-plugins: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → LMA-Toolchain Fuel Plugins (mos-lma-toolchain) |
milestone: | none → 7.0 |
Changed in fuel-plugins: | |
assignee: | LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Simon Pasquier (simon-pasquier) |
Changed in fuel-plugins: | |
status: | Confirmed → In Progress |
Changed in fuel-plugins: | |
status: | In Progress → Fix Committed |
description: | updated |
To post a comment you must log in.
Fix proposed to master: https:/ /review. openstack. org/#/c/ 235770/