Solutionunvalidated
adding `where <= lim - 2` guard. Tension: This ensures at least 2 bytes remain (the sign/prefix byte + at least 1 data byte) before entering the base-256 decoder. Outcome: Fixed in GNU tar release_1_35 (commit 3da7840, Feb 11 2023).
8165ed5b-418c-4bfc-98a8-97e66cd8c851
adding where <= lim - 2 guard. Tension: This ensures at least 2 bytes remain (the sign/prefix byte + at least 1 data byte) before entering the base-256 decoder. Outcome: Fixed in GNU tar release_1_35 (commit 3da7840, Feb 11 2023).