Skip to content

Kafka: Fixup returned offsets and initialize variables.

Gerald Combs requested to merge geraldcombs/wireshark:kafka-issue-16985 into master

Many of the Kafka dissector's type dissection routines either returned an offset or -1 in the event of an error. We don't appear to check for errors anywhere, so ensure that those routines always return a valid offset.

Make those routines always initialize their type offset and length variables. Fixes #16985 (closed).

Merge request reports