Skip to content

Fix failed reads returning a buffer they never got#24

Open
barr-israel wants to merge 1 commit intofrevib:masterfrom
barr-israel:read-fix
Open

Fix failed reads returning a buffer they never got#24
barr-israel wants to merge 1 commit intofrevib:masterfrom
barr-israel:read-fix

Conversation

@barr-israel
Copy link
Copy Markdown

When a read fails, it is not allocated a buffer and the BID is set to 0, before this fix, this causes the program to return buffer 0 to the available buffers and can cause multiple future SQEs to get the same buffer 0.

Fixes #23

When a read fails, it is not allocated a buffer and the BID is set to 0, before this fix, this causes the program to return buffer 0 to the available buffers and can cause multiple future SQEs to get the same buffer 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Returning the buffer on a failed read results in errors

1 participant