git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68905a1
)
staging: unisys: visorchannel_write() fix potential memory corruption
author
Jes Sorensen
<Jes.Sorensen@redhat.com>
Tue, 16 Jun 2015 13:13:33 +0000
(09:13 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 16 Jun 2015 21:36:39 +0000
(14:36 -0700)
This fixes the memory corruption case, if nbytes is less than offset
and sizeof(struct channel_header)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found