[riot-commits] [RIOT-OS/RIOT] b17a87: gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_...
Martine Lenders
authmillenon at gmail.com
Fri Jan 8 01:57:58 CET 2016
Branch: refs/heads/2015.12-branch
Home: https://github.com/RIOT-OS/RIOT
Commit: b17a8709b209dcf6423258dc1f5bd672301df909
https://github.com/RIOT-OS/RIOT/commit/b17a8709b209dcf6423258dc1f5bd672301df909
Author: Johann Fischer <j.fischer at phytec.de>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Changed paths:
M sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c
Log Message:
-----------
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.
Commit: 911d79a1945f47675d3327ab72e78eea1c00a07f
https://github.com/RIOT-OS/RIOT/commit/911d79a1945f47675d3327ab72e78eea1c00a07f
Author: Martine Lenders <mlenders at inf.fu-berlin.de>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Changed paths:
M tests/unittests/tests-pktbuf/tests-pktbuf.c
Log Message:
-----------
unittests: add unittests for overflow fix
Commit: f8be047ed1e89e659329417ea7d15de44477ab76
https://github.com/RIOT-OS/RIOT/commit/f8be047ed1e89e659329417ea7d15de44477ab76
Author: Martine Lenders <authmillenon at gmail.com>
Date: 2016-01-08 (Fri, 08 Jan 2016)
Changed paths:
M sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c
M tests/unittests/tests-pktbuf/tests-pktbuf.c
Log Message:
-----------
Merge pull request #4617 from cgundogan/pr/pktbuf/fix
gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
Compare: https://github.com/RIOT-OS/RIOT/compare/517ace59610c...f8be047ed1e8
More information about the commits
mailing list