commit | 56df900cb44d18c3ffaf16e09b83aaf37d912cc5 | [log] [tgz] |
---|---|---|
author | Jes Sorensen <[email protected]> | Tue Jun 16 09:13:33 2015 -0400 |
committer | Greg Kroah-Hartman <[email protected]> | Tue Jun 16 14:36:39 2015 -0700 |
tree | fbee1de66a2ee35d637cb7b27718c608e5c97caf | |
parent | 68905a14e49c97bf49dacd753e40ddd5b254e2ad [diff] |
staging: unisys: visorchannel_write() fix potential memory corruption This fixes the memory corruption case, if nbytes is less than offset and sizeof(struct channel_header) Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jes Sorensen <[email protected]> Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>