linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixing bug that would segmentation fault
@ 2021-11-07 15:03 Luiz Sampaio
  2021-11-07 15:03 ` [PATCH 1/2] auxdisplay: charlcd: fixing coding style issue Luiz Sampaio
  2021-11-07 15:03 ` [PATCH 2/2] auxdisplay: charlcd: checking for pointer reference before dereferencing Luiz Sampaio
  0 siblings, 2 replies; 10+ messages in thread
From: Luiz Sampaio @ 2021-11-07 15:03 UTC (permalink / raw)
  To: ojeda; +Cc: linux-kernel, Luiz Sampaio

This series of patches consists of one patch fixing a simple coding style
issue and one patch fixing a bug that would cause segmentation fault.
Basically, there was a pointer that was being dereferenced without testing
if the pointer exists. This patch adds a protection, returning EFAULT in
case the pointer is NULL.

Luiz Sampaio (2):
  auxdisplay: charlcd: fixing coding style issue
  auxdisplay: charlcd: checking for pointer reference before
    dereferencing

 drivers/auxdisplay/charlcd.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-24 11:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 15:03 [PATCH 0/2] Fixing bug that would segmentation fault Luiz Sampaio
2021-11-07 15:03 ` [PATCH 1/2] auxdisplay: charlcd: fixing coding style issue Luiz Sampaio
2021-11-08 12:01   ` Miguel Ojeda
2021-11-07 15:03 ` [PATCH 2/2] auxdisplay: charlcd: checking for pointer reference before dereferencing Luiz Sampaio
2021-11-08 11:58   ` Miguel Ojeda
2021-11-09 22:07     ` [PATCH v2 0/2] Fixing bug that would segmentation fault Luiz Sampaio
2021-11-09 22:07       ` [PATCH v2 1/2] auxdisplay: charlcd: fixing coding style issue Luiz Sampaio
2021-11-24 11:02         ` Miguel Ojeda
2021-11-09 22:07       ` [PATCH v2 2/2] auxdisplay: charlcd: checking for pointer reference before dereferencing Luiz Sampaio
2021-11-24 11:01         ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).