commit | a1d76d7a3cb2ba10ee43da559f6a54cc9dd2d26c | [log] [tgz] |
---|---|---|
author | Aishwarya Pant <aishpant@gmail.com> | Fri Mar 10 00:30:58 2017 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 10 10:13:07 2017 +0100 |
tree | d127611410bec6ab3e3ee3914e4c952ecda34afc | |
parent | fcd1f55359125348f81f4d1b409cd5b391c523e4 [diff] |
staging: bcm2835-camera: add check to avoid null pointer dereference This patch adds checks after memory allocation to avoid possible null pointer dereferences. Signed-off-by: Aishwarya Pant <aishpant@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>