The size of the payload transferred from the eBPF program to the agent is limited to 512 bytes.
In certain scenarios, a much larger buffer could be allocated for parsing a mongodb packet.
This PR adds a validation to ensure that a MongoDB packet is not truncated before parsing BSON.
The size of the payload transferred from the eBPF program to the agent is limited to 512 bytes. In certain scenarios, a much larger buffer could be allocated for parsing a mongodb packet.
This PR adds a validation to ensure that a MongoDB packet is not truncated before parsing BSON.
Issue #16