Skip to content

Mongo: Ensure the offset advances

The MongoDB Wire Protocol uses signed 32 bit integers for lengths. dissect_bson_document checks for bogus values and ensures that a non-negative (and at least 5) size is returned, but we need to make sure to use that return value instead of trusting the value read from the packet in dissect_op_msg_section.

Fix #19726 (closed)

Merge request reports