You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong initialization of ringbuffer for local io channel creation requests. #108
Furthermore, the size of the buffer used for passing local channel requests is MAX_NUMBER_JBPF_IPC_LOCAL_REQS + 1.
According to the documentation of ck_ring_init(), the size of the ringbuffer must be a power of two, greater or equal to 4. This is violated in the above case, and can therefore lead to undefined behavior when enqueueing and dequeueing elements..
Expected behavior
The size of the ringbuffer must be a power of two greater or equal to 4.
Activity
xfoukas commentedon Jun 4, 2025
Fixed by #109 .