-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test memory allocation robustness #182
Comments
Just to add to this topic. There are obvious bugs in several routines if allocations fail that should be fixed, where the return values aren't checked and attempts are made to de-reference what would be null pointers. The list of code in which I observed the problem includes:
I'm not sure how the topic is viewed here, but it's a red flag for production use in the sorts of environments where I would traditionally use such things. |
Yes. The thing is there are also cases where I think a fix would require API breaks or the like. I could make a cleanup PR for that during the week, at least for the cases where it can be done in an obvious way. |
Anyway, since this issue exists, there's obviously some interest in giving roaring bitmaps the correct semantics. |
I agree that it is worth pursuing. |
http://www.nongnu.org/failmalloc/
The text was updated successfully, but these errors were encountered: