[riot-commits] [RIOT-OS/RIOT] ad5617: gnrc_ipv6: discard non-NONXT packets with 0 payloa...

Martine Lenders authmillenon at gmail.com
Tue Apr 3 18:47:23 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ad5617fb8383fed0e788de473732ebb260acb44e
      https://github.com/RIOT-OS/RIOT/commit/ad5617fb8383fed0e788de473732ebb260acb44e
  Author: Robin Nehls <git at manol.is>
  Date:   2018-04-03 (Tue, 03 Apr 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c

  Log Message:
  -----------
  gnrc_ipv6: discard non-NONXT packets with 0 payload length

If the payload length is zero and the next header field is not set to
NONXT, GNRC will interpret the current header as the payload because the
first snip is always interpreted as the payload. This can lead to loops
and or crashes.


  Commit: cff4a4572dbf16145ea639237732f7cb60b937a3
      https://github.com/RIOT-OS/RIOT/commit/cff4a4572dbf16145ea639237732f7cb60b937a3
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-04-03 (Tue, 03 Apr 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c

  Log Message:
  -----------
  Merge pull request #8872 from man0lis/fix_zero_length_payload_with_next_header

gnrc_ipv6: discard non-NONXT packets with 0 payload length


Compare: https://github.com/RIOT-OS/RIOT/compare/77ad70ebb688...cff4a4572dbf


More information about the commits mailing list