diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-02-21 23:34:17 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-02-21 23:34:17 +1100 |
| commit | 160d6708684de8c71895f90bc699a5879fb6ed29 (patch) | |
| tree | ad45452d4a64c7e6fe1e50ccdb8af5125b96828c /examples/conwaylife.py | |
| parent | 8f9b113be25bec821254027e3e3d634f20553226 (diff) | |
py/objdeque: Protect against negative maxlen in deque constructor.
Otherwise passing -1 as maxlen will lead to a zero allocation and
subsequent unbound buffer overflow in deque.append() because i_put is
allowed to grow without bound.
Diffstat (limited to 'examples/conwaylife.py')
0 files changed, 0 insertions, 0 deletions
