[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211107150304.3253-1-sampaio.ime@gmail.com>
Date: Sun, 7 Nov 2021 12:03:02 -0300
From: Luiz Sampaio <sampaio.ime@...il.com>
To: ojeda@...nel.org
Cc: linux-kernel@...r.kernel.org, Luiz Sampaio <sampaio.ime@...il.com>
Subject: [PATCH 0/2] Fixing bug that would segmentation fault
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
Powered by blists - more mailing lists