[issue28874] test_logging fails and freezes
Leo kirotawa silva added the comment: I'm facing similar issue with test_logging in python3.5.2-2ubuntu0~16.04.12. Test just get hangs and so, our builders kill the build process without a successful ending. [1/1] test_locale 1 test OK. [1/1] test_logging E: Build killed with signal TERM after 150 minutes of inactivity Could someone provide any info in how to handle with this issue? Also, reopen this issue, if possible. It's affecting our 3.4 and 3.5 pythons. Thanks! -- nosy: +Leo kirotawa silva versions: +Python 3.5 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue28874> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30657] Unsafe arithmetic in PyString_DecodeEscape
Leo kirotawa silva <kirot...@gmail.com> added the comment: I re-did the build here for python3.4 and couldn't reach the same test fail. So I'm assuming it was a false alarm. Said that, I believe the same patch that applies to py2.7 also applies to 3.4 and 3.5. I've build them using the patch and did some regression tests and it was ok. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30657> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30657] Unsafe arithmetic in PyString_DecodeEscape
Leo kirotawa silva <kirot...@gmail.com> added the comment: Python 3.4 also has the similar code as 3.5, but applying the same patch tests for it results in test errors: +== +ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm) +-- +Traceback (most recent call last): + File "/<>/Lib/test/test_dbm.py", line 74, in test_anydbm_creation^M +self.read_helper(f)^M + File "/<>/Lib/test/test_dbm.py", line 115, in read_helper +self.assertEqual(self._dict[key], f[key.encode("ascii")]) +KeyError: b'0' + +== +ERROR: test_anydbm_modification (test.test_dbm.TestCase-dbm.ndbm) +-- +Traceback (most recent call last): + File "/<>/Lib/test/test_dbm.py", line 89, in test_anydbm_modification +self.read_helper(f) + File "/<>/Lib/test/test_dbm.py", line 115, in read_helper +self.assertEqual(self._dict[key], f[key.encode("ascii")]) +KeyError: b'0' + +== +ERROR: test_anydbm_read (test.test_dbm.TestCase-dbm.ndbm) +--
[issue30657] Unsafe arithmetic in PyString_DecodeEscape
Leo kirotawa silva <kirot...@gmail.com> added the comment: I couldn't reproduce using the poc, but seems python3.5 is also vulnerable to this bug. The code from py3.5 are quite similar to 2.7. In py3.5: Objects/bytesobject.c PyBytes_DecodeEscape -- nosy: +Leo kirotawa silva ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30657> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com