cbuffer icon indicating copy to clipboard operation
cbuffer copied to clipboard

Fix head index not wrapped around

Open jswirl opened this issue 8 years ago • 1 comments

me->head in cbuf_poll() needs to be wrapped

jswirl avatar Apr 23 '16 12:04 jswirl

I can confirm that this change is necessary, without it there is an invalid access as cbuf_peek returns a pointer past the buffer.

armarpc avatar May 10 '21 21:05 armarpc