[issue27291] two heap corruption issues when running modified pyc code.

2016-06-11 Thread Park Alex
Park Alex added the comment: oops, I cannot modify reply even I wrote it, want to fix tiny typo. I don't want to bother you guys, I respect python-dev as always. Thanks, -- Alex -- ___ Python tracker <http://bugs.python.org/is

[issue27291] two heap corruption issues when running modified pyc code.

2016-06-11 Thread Park Alex
Park Alex added the comment: I totally agreed with your opinion. So I hesitated before reporting the issue (I thought) It's kinda, we have different point of view. As far as I can tell, python could be corrupted with .pyc like heap-use-after-free, buffer overrun and so on. Again, I a

[issue27291] two heap corruption issue

2016-06-11 Thread Park Alex
Park Alex added the comment: all of .pyc files had been altered by fuzzer. original py code is following: $ cat helloworld.py def hello(s=0x4142434445464748): print s if type(s) == str: print s.encode('hex') print repr(s) else: s = str(s) p

[issue27291] two heap corruption issue

2016-06-10 Thread Park Alex
New submission from Park Alex: Hello, I would like to report two heap corruption issue. Test environment: python ersion: python 2.7.11+ hg id: d858eadf2602 (2.7) compile: clang with ASAN OS: ubuntu x86_64 One is heap-buffer-overflow, the other is heap-user-after-free. All of samples are