[riot-commits] [RIOT-OS/RIOT] a2d679: gnrc/pktbuf: avoid memcpy if size <= 0

Kaspar Schleiser kaspar at schleiser.de
Wed Jan 16 18:34:25 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: a2d679c76f44904497117cc44cfb5c4d9fa5c248
      https://github.com/RIOT-OS/RIOT/commit/a2d679c76f44904497117cc44cfb5c4d9fa5c248
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c

  Log Message:
  -----------
  gnrc/pktbuf: avoid memcpy if size <= 0


  Commit: c0785df05024ef0cd301d795fb2d958f33179c79
      https://github.com/RIOT-OS/RIOT/commit/c0785df05024ef0cd301d795fb2d958f33179c79
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c

  Log Message:
  -----------
  Merge pull request #10786 from kaspar030/fix_pktbuf_empty_memcpy

gnrc/pktbuf: avoid memcpy if size <= 0


Compare: https://github.com/RIOT-OS/RIOT/compare/7226daf33e9c...c0785df05024
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list