-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi, thanks for all the great code and the blog. While implementing the Michal-Harris list in C, I found a small mistake you have here:
| next = curr->next.load(); |
The next = curr->next.load(); needs to be next = getUnmarked(curr)->next.load(); as it could be marked (leading to unaligned/invalid access to memory).
(Found the typo causing the double-frees.)
Metadata
Metadata
Assignees
Labels
No labels