embassy/src
Jan Niehusmann acaa8b3e8b Fix calculation of slice index
total_len is already rounded up, so the `+ 3` is not needed.
And even if it was, the calculation should have been `((total_len + 3) / 4)`.

`(total_len + 3 / 4)` is equivalent to `total_len` and can overflow
the slice, leading to a panic which can easily be triggered by sending
large ICMP ECHO packets to the device.
2022-08-30 20:37:02 +00:00
..
countries.rs clm download, country config. 2022-07-11 03:07:39 +02:00
events.rs Improve data checks for VHD events 2022-08-13 15:25:34 +02:00
fmt.rs 🌈 2022-07-10 19:45:26 +02:00
lib.rs Fix calculation of slice index 2022-08-30 20:37:02 +00:00
structs.rs Add comments about Country Locale Matrix (CLM) 2022-08-20 10:52:45 +02:00