Thread (6 messages) 6 messages, 4 authors, 2016-03-01
STALE3774d REVIEWED: 1 (0M)

[PATCH] i2c: brcmstb: allocate correct amount of memory for regmap

From: Gregory Fong <hidden>
Date: 2016-02-22 06:33:14
Also in: linux-i2c

On Sun, Feb 21, 2016 at 6:16 AM, Wolfram Sang [off-list ref] wrote:
We want the size of the struct, not of a pointer to it. To be future
proof, just dereference the pointer to get the desired type.
This looks like it fixes like a fairly serious issue: before this
change, the driver may modify memory that wasn't allocated for this
struct.  Shouldn't this also have Cc: stable?
Signed-off-by: Wolfram Sang <redacted>
Acked-by: Gregory Fong <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help