-
-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
bpo-30502: Fix handling of long oids #1852
Conversation
|
@tiran, thanks for your PR! By analyzing the history of the files in this pull request, we identified @serhiy-storchaka, @benjaminp, @malemburg and @tiran to be potential reviewers. |
|
Similar to pyca/cryptography#3612 |
Signed-off-by: Christian Heimes <christian@python.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I suggest the patch that don't duplicate the code (see on the tracker).
| PyErr_NoMemory(); | ||
| goto fail; | ||
| } | ||
| buflen = OBJ_obj2txt(namebuf, buflen + 1, name, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need that the new buflen is equal to the previous buflen?
|
An alternate patch is provided as #2909. |
|
Closing in favor of #2909. |
Signed-off-by: Christian Heimes christian@python.org