[riot-notifications] [RIOT] net/ng_sixlowpan: fix check of pktbuf return val (#3236)

Hauke Petersen notifications at github.com
Tue Jun 23 01:56:46 CEST 2015


makes more sense to check for NULL first and de-reference the pointer only if it is not NULL...
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3236

-- Commit Summary --

  * net/ng_sixlowpan: fix check of pktbuf return val

-- File Changes --

    M sys/net/network_layer/ng_sixlowpan/frag/rbuf.c (5)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3236.patch
https://github.com/RIOT-OS/RIOT/pull/3236.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3236
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150622/682cbe18/attachment.html>


More information about the notifications mailing list