The packet utility functions in valent-core have several bugs that need to be fixed:
The packet utility functions in valent-core have several bugs that need to be fixed:: a task in LegoFlow-SWE (Harbor dataset). Expected behavior: - Packet reading from a stream must correctly compute buffer sizes and indices to avoid reading or writing beyond allocated memory boundaries. - Packet…
The task
Expected behavior: - Packet reading from a stream must correctly compute buffer sizes and indices to avoid reading or writing beyond allocated memory boundaries. - Packet reading from a stream must use correct bounds when parsing the streamed data (no off-by-one). - `valent_packet_to_stream` must detect when a write…
Part of Lego-X/LegoFlow-SWE.