Commit 8c67aa3e authored by johan's avatar johan
Browse files

Fix bug in event queue buffer management

parent 6924f339
......@@ -77,6 +77,11 @@ static void write_event(MSEventQueue *q, MSFilter *f, unsigned int ev_id, void *
if (argsize>0) memcpy(q->wptr+16,arg,argsize);
/* buffer actual size(q->endptr) may have grown within the limit q->lim, prevent unwanted reading reset to the begining by setting the actual endptr */
if (nextpos>q->endptr) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment