You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in #96551 the logic for deciding when to filter paths was changed in compiletest such that known paths are always considered to be 32 bytes long.
Unfortunately this logic has an error in the case where the known path is shorter than 32 bytes, as the logic may decide to abbreviate the output due to it exceeding HEAD_LEN + TAIL_LEN bytes in length, however the output isn't long enough, so the following check underflows, leading to a panic in split_off:
Activity
jieyouxu commentedon Oct 17, 2024
compiletest triage:
rust/src/tools/compiletest/src/read2.rs
Line 87 in 798fb83
seems to have a proper
saturing_subnow, probably fixed by #96551. The logic here isn't exactly pretty, however.