[issue30502] Fix buffer handling of OBJ_obj2txt

2017-09-05 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 3.5 ___ Python tracker

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-09-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset c9d668c0d8a6f3e8e72345e53d1dd34be172f16e by Christian Heimes in branch '2.7': [2.7] bpo-30502: Fix handling of long oids in ssl. (GH-2909). (#3322) https://github.com/python/cpython/commit/c9d668c0d8a6f3e8e72345e53d1dd34be172f16e --

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-09-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset f201e886fc7aaeb50f5e945578c6aec2a59a5323 by Christian Heimes in branch '3.6': [3.6] bpo-30502: Fix handling of long oids in ssl. (GH-2909) (#3321) https://github.com/python/cpython/commit/f201e886fc7aaeb50f5e945578c6aec2a59a5323 --

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-09-04 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +3347 ___ Python tracker ___ ___

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-09-04 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +3346 ___ Python tracker ___ ___

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-09-04 Thread Christian Heimes
Christian Heimes added the comment: New changeset e503ca52889bf66ac502702569e726caa7970299 by Christian Heimes (Serhiy Storchaka) in branch 'master': bpo-30502: Fix handling of long oids in ssl. (#2909) https://github.com/python/cpython/commit/e503ca52889bf66ac502702569e726caa7970299

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2960 ___ Python tracker ___ ___

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Your PR LGTM. But I think the code can be much simpler. Here is a patch that shares common code and applies other simplifications to surrounded code. PR 1852 increases the total number of lines by 37 lines, issue30502-simpler.diff -- only by 3 lines. PR

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-05-29 Thread Christian Heimes
Christian Heimes added the comment: IMO it doesn't make sense to share a couple of lines of code. It makes the code even harder to read. -- ___ Python tracker

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can the common code of _create_tuple_for_attribute() and asn1obj2py() be shared? -- nosy: +serhiy.storchaka ___ Python tracker

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-05-29 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +1935 ___ Python tracker ___ ___

[issue30502] Fix buffer handling of OBJ_obj2txt

2017-05-29 Thread Christian Heimes
New submission from Christian Heimes: Frawser Tweedle from Red Hat's identity management team found an issue in PyCA cryptography's handling of buffers for OpenSSL OBJ_obj2txt(). Cryptography fails to handle long OIDs as used by Active Directory.