Thread (28 messages) 28 messages, 7 authors, 2020-03-17

Re: [PATCH] evh_bytechan: fix out of bounds accesses

From: Segher Boessenkool <hidden>
Date: 2020-01-14 08:31:39

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help