Files
pgcat/src
Mostafa Abdelraouf d66b377a8e Check Slice bounds in read_message to avoid panics (#371)
When recv is called in the mirroring client, we noticed an occasional panic when reading the message.

thread 'tokio-runtime-worker' panicked at 'slice index starts at 5 but ends at 0', src/messages.rs:522:18
We are still debugging the reason why this happens but adding a check for slice bounds seems like a good idea. Instead of panicking, this will return an Err to the caller which will close the connection.
2023-03-17 12:31:43 -05:00
..
2023-03-10 06:23:51 -06:00
2023-03-10 06:23:51 -06:00
2023-03-10 06:23:51 -06:00
2023-03-10 06:23:51 -06:00
2023-02-14 16:20:11 -06:00
2023-03-10 06:23:51 -06:00
2022-11-09 10:04:31 -08:00