Patch "drm/gma500: Fix possible out of bounds read" has been added to the 4.4-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
drm/gma500: Fix possible out of bounds read
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-gma500-fix-possible-out-of-bounds-read.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
7ccca1d5bf69fdd1d3c5fcf84faf1659a6e0ad11Mon Sep 17 00:00:00 2001
From: Itai Handler <[email protected]>
Date: Tue, 3 Nov 2015 00:20:56 +0200
Subject: drm/gma500: Fix possible out of bounds read
From: Itai Handler <[email protected]>
commit 7ccca1d5bf69fdd1d3c5fcf84faf1659a6e0ad11 upstream.
Fix possible out of bounds read, by adding missing comma. The code may read pass the end of the dsi_errors array when the most significant bit (bit #31) in the intr_stat register is set.
This bug has been detected using CppCheck (static analysis tool).
--- drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c +1 -1
@@ -72,7 +72,7 @@ static const char *const dsi_errors[] ="RX Prot Violation" ,"HS Generic Write FIFO Full" ,"LP Generic Write FIFO Full" , -"Generic Read Data Avail" +"Generic Read Data Avail" ,"Special Packet Sent" , "Tearing Effect", };
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drm-gma500-fix-possible-out-of-bounds-read.patch