commit | 24771179c5c138f0ea3ef88b7972979f62f2d5db | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Aug 27 11:06:50 2017 +0100 |
committer | Pawel Moll <pawel.moll@arm.com> | Mon Dec 04 16:48:53 2017 +0000 |
tree | 9d39d3784b6324b6694f9c44ac1e37d71fae2707 | |
parent | 8a84bf45143b6b3552a806ab73181d7c7b6020ff [diff] |
bus: arm-ccn: Check memory allocation failure Check memory allocation failures and return -ENOMEM in such cases This avoids a potential NULL pointer dereference. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Scott Branden <scott.branden@broadcom.com> Cc: stable@vger.kernel.org # 3.17+ Signed-off-by: Pawel Moll <pawel.moll@arm.com>