[riot-commits] [RIOT-OS/RIOT] 326be1: gnrc_ipv6: fix possible NULL pointer dereference

Martine Lenders authmillenon at gmail.com
Thu Apr 12 14:26:24 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 326be16b9046147ab478f65e25c7ac856ea4fac7
      https://github.com/RIOT-OS/RIOT/commit/326be16b9046147ab478f65e25c7ac856ea4fac7
  Author: Robin Nehls <nehls at mi.fu-berlin.de>
  Date:   2018-04-03 (Tue, 03 Apr 2018)

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

  Log Message:
  -----------
  gnrc_ipv6: fix possible NULL pointer dereference

When the payload length of an encapsulated IPv6 packet is 0, the
`_receive` function of IPv6 can be given a NULL pointer, causing the
IPv6 header checker to crash because of a NULL pointer dereference.


  Commit: 3be4b51209be6b12ace2f699bd419b0e731c8860
      https://github.com/RIOT-OS/RIOT/commit/3be4b51209be6b12ace2f699bd419b0e731c8860
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-04-12 (Thu, 12 Apr 2018)

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

  Log Message:
  -----------
  Merge pull request #8867 from miri64/gnrc_ipv6/fix/possible-null-ptr-deref

gnrc_ipv6: fix possible NULL pointer dereference


Compare: https://github.com/RIOT-OS/RIOT/compare/7974b12c1137...3be4b51209be


More information about the commits mailing list