diff options
author | Yureka <tvl@yuka.dev> | 2024-10-01T14·16+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-10-01T15·27+0000 |
commit | ab3555f5a7fa6347049159ee3a32730f9a0c637c (patch) | |
tree | ccaa0f3bec0feab2fdaaae8b7f9cabb9bfd23c37 /tvix/castore/src/errors.rs | |
parent | f0d5ed7074097ca44a86865ef82cdbd1d1bddff7 (diff) |
fix(tvix/castore/refscan): don't panic on empty patterns r/8747
Previously, the overlap calculation would underflow when the pattern is empty. Change-Id: I1f6bf49fafc4b8183a3a5e5e491a5a5bfc41ca97 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12558 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Autosubmit: yuka <yuka@yuka.dev>
Diffstat (limited to 'tvix/castore/src/errors.rs')
0 files changed, 0 insertions, 0 deletions