-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
New warning on main
: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
#129467
Comments
In any case, it affects our CI, so we should take appropriate steps to resolve this issue. |
Ok, #116346 restored. |
Yes, otherwise, we will loose the patch next time that we update mpdecimal. Note: we plan to remove the vendored |
Stefan participated in the old issue thread. So, he is aware on the problem. If this patch wasn't included in 4.0.0 - maybe he consider this as a non-issue for the mpdecimal.
I don't think there is much sense to do this. The mpdecimal seems to be a complete project (implementation of the IBM spec). For bugfixes or performance improvements people should just use upstream sources.
(Someone should convince Debian people to restore mpdecimal package.) |
Turn off false-positive -Wstringop-overflow in word_to_string().
Fixed by the change 6c63afc. |
Bug report
Bug description:
This happens in Modules/_decimal/libmpdec/io.c
Here:
cpython/Modules/_decimal/libmpdec/io.c
Lines 348 to 349 in a472244
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: