[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23022 ___ ___ Python-bugs-list mailing

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread STINNER Victor
STINNER Victor added the comment: Your code is strange. It exchanges pointer between processes if I understand correctly: class Berbagi(ctypes.Structure): _fields_ = [('a', ctypes.c_wchar_p), ('b', ctypes.c_double) ] nilai = multiprocessing.Array(Berbagi, [Berbagi() for x in range(9)]

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23022 ___ ___ Python-bugs-list

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread peerhash
Changes by peerhash ch...@rop.io: Removed file: http://bugs.python.org/file37406/repro.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23022 ___ ___

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-10 Thread peerhash
New submission from peerhash: Line 27-29 trigger use-after-free. = ==18203== ERROR: AddressSanitizer: heap-use-after-free on address 0x60080003b2e0 at pc 0x5e844f bp 0x75351750 sp 0x75351748 READ of size 4 at

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-10 Thread peerhash
Changes by peerhash ch...@rop.io: -- hgrepos: -284 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23022 ___ ___ Python-bugs-list mailing list