[riot-commits] [RIOT-OS/RIOT] 057ad1: unittests: add test for packet buffer alignment is...

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Wed Jul 8 10:49:27 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 057ad18f226be5a0325ada9684b54b3944def54b
      https://github.com/RIOT-OS/RIOT/commit/057ad18f226be5a0325ada9684b54b3944def54b
  Author: Martine Lenders <mlenders at inf.fu-berlin.de>
  Date:   2015-07-05 (Sun, 05 Jul 2015)

  Changed paths:
    M tests/unittests/tests-pktbuf/tests-pktbuf.c

  Log Message:
  -----------
  unittests: add test for packet buffer alignment issues


  Commit: 3b133811d6e2527f640e28e89ab8bd34181889d2
      https://github.com/RIOT-OS/RIOT/commit/3b133811d6e2527f640e28e89ab8bd34181889d2
  Author: Martine Lenders <mlenders at inf.fu-berlin.de>
  Date:   2015-07-07 (Tue, 07 Jul 2015)

  Changed paths:
    M sys/net/crosslayer/ng_pktbuf/_pktbuf_static.c

  Log Message:
  -----------
  ng_pktbuf: fix alignment overwrite issue

Currently it can happen if there is a spot of size `n` free that a chunk
of size `n + 1` is inserted, if `n` is devisable by the word length of
the platform. This patch fixes this issue.


  Commit: c3814a712750a23a82e96d493cf02c038d9304ef
      https://github.com/RIOT-OS/RIOT/commit/c3814a712750a23a82e96d493cf02c038d9304ef
  Author: Peter Kietzmann <peter.kietzmann at haw-hamburg.de>
  Date:   2015-07-08 (Wed, 08 Jul 2015)

  Changed paths:
    M sys/net/crosslayer/ng_pktbuf/_pktbuf_static.c
    M tests/unittests/tests-pktbuf/tests-pktbuf.c

  Log Message:
  -----------
  Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align

ng_pktbuf: fix alignment overwrite issue


Compare: https://github.com/RIOT-OS/RIOT/compare/8456c9c3fe0f...c3814a712750


More information about the commits mailing list