Mercurial > hg
comparison tests/test-patchbomb.t @ 40813:884321cd26c3 stable
rust: fix possible out-of-bounds read through index_get_parents()
index_get_parents() is an internal function, which doesn't check if the
specified rev is valid. If rustlazyancestors() were instantiated with an
invalid stoprev, it would access to invalid memory region.
This is NOT a security fix as there's no Python code triggering the bug,
but included in this series to not give a notion about the memory issue
fixed by the previous patch.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 28 Oct 2018 21:29:04 +0900 |
parents | 5abc47d4ca6b |
children | 55fcdb73c88b |
comparison
equal
deleted
inserted
replaced
40812:9cdd525d97b2 | 40813:884321cd26c3 |
---|