[PATCH 1/1] Preventive patch in the pin control subsystem to handle NULL check.

2018-08-27 Thread Srikanth K H
If the pin descriptor requested for the physical pin fails then the descriptor is dereferenced without checking for its validity which may lead to crash, hence added preventive code to check for NULL and accordingly dereference. Signed-off-by: Srikanth K H --- drivers/pinctrl/pinconf.c | 5

[PATCH 1/1] Preventive patch in the pin control subsystem to handle NULL check.

2018-08-27 Thread Srikanth K H
If the pin descriptor requested for the physical pin fails then the descriptor is dereferenced without checking for its validity which may lead to crash, hence added preventive code to check for NULL and accordingly dereference. Signed-off-by: Srikanth K H --- drivers/pinctrl/pinconf.c | 5

[PATCH 1/1] Preventive patch in the proc file-system to handle NULL check.

2018-08-16 Thread Srikanth K H
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 --- fs/proc/proc_sysctl.c | 2 ++ 1 file

[PATCH 1/1] Preventive patch in the proc file-system to handle NULL check.

2018-08-16 Thread Srikanth K H
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 --- fs/proc/proc_sysctl.c | 2 ++ 1 file

[PATCHv2 1/1] Preventive fix in sound module

2018-07-18 Thread Srikanth K H
d hence kernel panic occur. So as preventive measure while the creating the sound timer object is created the card information availability is checked for the mentioned entries and returned error if its NULL. Signed-off-by: Srikanth K H --- sound/core/timer.c | 11 +++ 1 file changed, 7 inser

[PATCHv2 1/1] Preventive fix in sound module

2018-07-18 Thread Srikanth K H
d hence kernel panic occur. So as preventive measure while the creating the sound timer object is created the card information availability is checked for the mentioned entries and returned error if its NULL. Signed-off-by: Srikanth K H --- sound/core/timer.c | 11 +++ 1 file changed, 7 inser

[PATCH 1/1] Preventive fix in sound module

2018-07-18 Thread Srikanth K H
Signed-off-by: Srikanth K H --- sound/core/timer.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/core/timer.c b/sound/core/timer.c index b6f076bb..c7be4f1 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -1192,10 +1192,12 @@ static void

[PATCH 1/1] Preventive fix in sound module

2018-07-18 Thread Srikanth K H
Signed-off-by: Srikanth K H --- sound/core/timer.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/core/timer.c b/sound/core/timer.c index b6f076bb..c7be4f1 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -1192,10 +1192,12 @@ static void