[issue34697] ctypes: Crash if manually-created CField instance is used

2022-01-23 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-08-03 Thread hai shi
hai shi added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-07-18 Thread hai shi
hai shi added the comment: I have try to cancel this PyCField_new function, but i am not sure I haven't break the code structure. -- nosy: +shihai1991 ___ Python tracker ___

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-07-18 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +14628 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14837 ___ Python tracker ___

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Is this issue worth fixing? Definitely yes. > If so, is the correct way to set tp_new slot to NULL and fix the internal > callers so that users wouldn't be able to create CField instances? I think yes. Do you mind to create a PR? --

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-07-10 Thread hai shi
Change by hai shi : -- nosy: -shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34697] ctypes: Crash if manually-created CField instance is used

2019-07-09 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34697] ctypes: Crash if manually-created CField instance is used

2018-09-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34697] ctypes: Crash if manually-created CField instance is used

2018-09-15 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : It is possible to manually create an instance of private CField type which is used by ctypes to represent fields of Structure and Union types. This instance will be uninitialized because it's normally initialized when instances of Structure/Union are