Armin Rigo pushed to branch branch/default at PyPy / pypy
Commits: 50c53a77 by Armin Rigo at 2020-09-10T17:07:02+02:00 Issue #3297 A corner case that produces a bogus loop containing getarrayitem_gc with index -1, or with whatever index is given in the initial value of 'pos'. Negative values would segfault; positive values would allocate '8 * pos' bytes of memory however large the value is. Try to fix all these cases. - - - - - 4 changed files: - rpython/jit/metainterp/optimizeopt/heap.py - rpython/jit/metainterp/optimizeopt/info.py - rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py - rpython/jit/metainterp/optimizeopt/virtualize.py View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/commit/50c53a77dfa58da1ec406e01658c82605feb7325 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/50c53a77dfa58da1ec406e01658c82605feb7325 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
