Christian Gromm 3ba5515bf4 staging: most: core: check value returned by match function
This patch adds a check for the pointer returned by the function
match_component. It is needed to prevent a NULL pointer dereference in
case the provided component name does not match any list entry.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-27 09:20:37 +01:00
..
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-15 20:42:10 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 20:53:28 -08:00
2017-11-13 21:14:07 -08:00
2017-11-13 20:53:28 -08:00