-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
heap: align > MIN_ALIGN can trigger undefined behavior #17207
Comments
Triage: we have recently updated to jemallc 4.0.0, but we still may want to worry about this. |
Triage: not aware of any changes here. Tagging as "unsound" and for the libs team, as this would be their issue. |
Nominating for discussion by libs team since this is apparently unsound; so we should at least get eyes on it. |
Discussed during libs triage today, this is mostly relevant for #32838 now and I've left a comment on the associated PR explaining how this is relevant. This will likely get closed in time as the allocator trait lands, stabilizes, and we audit various locations in libstd. |
This was handled as part of #42313, so closing. |
fix: Report all LSP protocol errors with invalid_data Previously we did not use invalid_data for serde errors, making it harder to understand errors when the client sends malformed data to the server.
The non-standard jemalloc API makes dealing with this into the caller's problem.
The text was updated successfully, but these errors were encountered: