[riot-notifications] [RIOT] gnrc_sixlowpan_iphc: move assert to a valid position (#3845)

Martine Lenders notifications at github.com
Tue Sep 15 11:56:10 CEST 2015


> @@ -177,9 +177,10 @@ size_t gnrc_sixlowpan_iphc_decode(gnrc_pktsnip_t *ipv6, gnrc_pktsnip_t *pkt, siz
>          }
>      }
>  
> +    /* should be asserted by line 168 anyway */
> +    assert(ctx != NULL);
> +

So context-less compression should not be allowed anymore?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3845/files#r39492875
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150915/0ca7f908/attachment.html>


More information about the notifications mailing list