[PATCH] evh_bytechan: fix out of bounds accesses

Segher Boessenkool segher at kernel.crashing.org
Tue Jan 14 19:29:06 AEDT 2020


On Mon, Jan 13, 2020 at 07:10:11PM -0600, Timur Tabi wrote:
> Ah, I see now.  This is all coming back to me.
> 
> I would prefer that ev_byte_channel_send() is updated to access only 
> 'count' bytes.  If that means adding a memcpy to the 
> ev_byte_channel_send() itself, then so be it.  Trying to figure out how 
> to stuff n bytes into 4 32-bit registers is probably not worth the effort.

You have no working lswx I suppose?  :-)

/me slowly backs away


Segher


More information about the Linuxppc-dev mailing list