Comment 0 for bug 518926

Revision history for this message
Dave Martin (dave-martin-arm) wrote :

Binary package hint: plymouth

In ply_event_loop_process_pending_events(), sizeof (events) is passed for the maxevents parameter to epoll_wait().

events is a pointer, to sizeof (events) is 4 or 8 on most architectures.

This seems unlikely to have been what was intended.

Is PLY_EVENT_LOOP_NUM_EVENT_HANDLERS supposed to be passed for maxevents instead? (This is the number if event structures allocated to events.) If so, the attached patch ought to fix it.