Skip to content
Snippets Groups Projects
Commit 2f94d669 authored by Johann Fischer's avatar Johann Fischer
Browse files

gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data

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.
parent 26f9f7fa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment