[riot-commits] [RIOT-OS/RIOT] 0d141b: clif: Don't access any data if input is empty

Leandro Lanzieri noreply at github.com
Mon Feb 15 13:53:59 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 0d141bf93a5c2cda3c95822926e1999e50b0cbfd
      https://github.com/RIOT-OS/RIOT/commit/0d141bf93a5c2cda3c95822926e1999e50b0cbfd
  Author: Sören Tempel <tempel at uni-bremen.de>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M sys/clif/clif.c
    M tests/unittests/tests-clif/tests-clif.c

  Log Message:
  -----------
  clif: Don't access any data if input is empty

This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.


  Commit: 85da504d2dc30188b89f44c3276fc5a25b31251f
      https://github.com/RIOT-OS/RIOT/commit/85da504d2dc30188b89f44c3276fc5a25b31251f
  Author: Leandro Lanzieri <leandro.lanzieri at haw-hamburg.de>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M sys/clif/clif.c
    M tests/unittests/tests-clif/tests-clif.c

  Log Message:
  -----------
  Merge pull request #15947 from nmeum/pr/clif_get_attr_empty

clif: Don't access any data if input is empty


Compare: https://github.com/RIOT-OS/RIOT/compare/ffdddc802e5e...85da504d2dc3


More information about the commits mailing list