mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
ea61594e04
Summary: We saw the `unwrap()` panic at `iddag.rs:453`: let (new_idx, low, high, parent_count, has_root) = candidate.unwrap(); Reading the code, it seems it can only happen if one of `parents` is `high` in a segment. Parents in a segment should all be < low. Add some validations for that. Reviewed By: sfilipco Differential Revision: D27021394 fbshipit-source-id: 2c51713dfb8f07f2921229d8866f7e8a0bd9490f |
||
---|---|---|
.. | ||
benches | ||
bindag | ||
dag-types | ||
fuzz | ||
gitdag | ||
src | ||
Cargo.toml |