[riot-commits] [RIOT-OS/RIOT] 1c64d4: cbor: introduce bounds checking on read

Oleg Hahm oleg at hobbykeller.org
Thu Jan 19 12:21:20 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 1c64d45b3190cc61f65c7d68ea42acea0e7ec892
      https://github.com/RIOT-OS/RIOT/commit/1c64d45b3190cc61f65c7d68ea42acea0e7ec892
  Author: Lucio Torre <lucio at satellogic.com>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M sys/cbor/cbor.c

  Log Message:
  -----------
  cbor: introduce bounds checking on read


  Commit: d783d784c9f86bed13c26542ea83f82494c36d26
      https://github.com/RIOT-OS/RIOT/commit/d783d784c9f86bed13c26542ea83f82494c36d26
  Author: Lucio Torre <lucio at satellogic.com>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M sys/cbor/cbor.c
    M sys/include/cbor.h
    M tests/unittests/tests-cbor/tests-cbor.c

  Log Message:
  -----------
  cbor: add zero copy string deserialization


  Commit: f6db56929faf451a9554c2bf556a88f9318e226c
      https://github.com/RIOT-OS/RIOT/commit/f6db56929faf451a9554c2bf556a88f9318e226c
  Author: Lucio Torre <lucio at satellogic.com>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M sys/cbor/cbor.c

  Log Message:
  -----------
  cbor: check return value for zero


  Commit: 04fc0b35a75fd2b3124ce178d8edcb8872f189ab
      https://github.com/RIOT-OS/RIOT/commit/04fc0b35a75fd2b3124ce178d8edcb8872f189ab
  Author: Lucio Torre <lucio at satellogic.com>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M sys/cbor/cbor.c
    M sys/include/cbor.h

  Log Message:
  -----------
  cbor: introduce cbor_serialize_byte_stringl


  Commit: 5f26b7686fb6678bb2c48cd946a16673752f0984
      https://github.com/RIOT-OS/RIOT/commit/5f26b7686fb6678bb2c48cd946a16673752f0984
  Author: Lucio Torre <lucio at satellogic.com>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M sys/include/cbor.h

  Log Message:
  -----------
  cbor: fix typo


  Commit: 63bcccf43d014eb133067a950343d928e09d71f4
      https://github.com/RIOT-OS/RIOT/commit/63bcccf43d014eb133067a950343d928e09d71f4
  Author: Matias Devenuta <mdv at satellogic.com>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M sys/cbor/cbor.c

  Log Message:
  -----------
  cbor: Packed struct to bypass unaligned stack

This can happen due to cast using buggy GCC on ARMv7

Credit to our shy french pal


  Commit: b9b6e4934cd952ed161117425f8e1b9e80661ec3
      https://github.com/RIOT-OS/RIOT/commit/b9b6e4934cd952ed161117425f8e1b9e80661ec3
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M sys/cbor/cbor.c
    M sys/include/cbor.h
    M tests/unittests/tests-cbor/tests-cbor.c

  Log Message:
  -----------
  Merge pull request #5203 from OlegHahm/cbor_bound_checking

cbor: bounds checking on read and no_copy string deserialization


Compare: https://github.com/RIOT-OS/RIOT/compare/b92ce8ae2a8d...b9b6e4934cd9


More information about the commits mailing list