Messages in this thread | | | Date | Thu, 16 Aug 2018 06:17:31 -0700 | From | Luis Chamberlain <> | Subject | Re: [PATCH 1/1] Preventive patch in the proc file-system to handle NULL check. |
| |
On Thu, Aug 16, 2018 at 03:04:13PM +0530, Srikanth K H wrote: > If the make directory for "sys" interface fail's then its > dereferenced without even checking for its validity which > will lead to crash, hence added preventive code to check > for NULL and accordingly dereference. > > Signed-off-by: Srikanth K H <srikanth.h@samsung.com>
Thanks for the patch! Do you have a reproducer or is this theoretical? This will affect if it should go to stable or not.
Luis
| |