[PATCH 2/2] staging: unisys: fix random memory corruption in visorchannel_write()

Dan Carpenter dan.carpenter at oracle.com
Tue Jul 14 11:06:38 UTC 2015


On Mon, Jul 13, 2015 at 02:51:24PM -0400, Benjamin Romer wrote:
> Fixes: 0abb60c1c ('staging: unisys: visorchannel_write(): Handle...')

Thanks for adding these, Tim.  I know checkpatch complains if you have
a long line here, but just ignore it.  No need to redo this patch
obviously.

In fact, I will patch checkpatch.pl right now to not warn about these.

I have some code in Smatch to detect this bug but it's ifdeffed out and
I don't remember why.  I'll try turning it on again.

regards,
dan carpenter



More information about the devel mailing list