diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2014-04-18 13:01:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 10:28:27 -0700 |
commit | c40da129a2be0858f7e9dc8503fc878c0ebc5f6f (patch) | |
tree | 761d21375258cdbb6ec6600ca18e5080d8421f94 /net/lapb/lapb_subr.c | |
parent | 23de3167679e331f65d9aebdfb07fbf4f2167a4c (diff) |
crypto: caam - add allocation failure handling in SPRINTFCAT macro
commit 27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04 upstream.
GFP_ATOMIC memory allocation could fail.
In this case, avoid NULL pointer dereference and notify user.
Cc: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions