On Sun, 2017-08-27 at 12:06 +0200, Christophe JAILLET wrote: > Check memory allocation failures and return -ENOMEM in such cases > > This avoids a potential NULL pointer dereference. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> This is an obvious bug, thanks for spotting and fixing it! I'll include this patch next time I send a pull request for CCN fixes. May I also ask how have you noticed it? Some automated tool or just manual code inspection? Regards Pawel -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html