mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-20 03:53:49 +01:00
This patch fixes overflow, which is caused by (pkt->size - aligned_size). This happens if pkt->size and new size are unaligned and the difference between pkt->size and new size is less than four.