iou icon indicating copy to clipboard operation
iou copied to clipboard

fix prepare_sqes

Open glommer opened this issue 3 years ago • 0 comments

This method takes a slice from the sqe queue, but that is completely wrong: the sqe queue is a circular buffer, so if you try to get 2 elements at position n - 1 you access invalid memory.

This patch transforms the very helpful SQEs structure so that it now only has the information needed to access each SQE and constructs them from there.

glommer avatar Mar 19 '21 00:03 glommer