Repository navigation
Commit 7168c18
committed
basenc: preserve decoded prefixes on invalid input
Invalid or incomplete input discarded decoded data from the current
batch. Preserve complete output before reporting the error across the
shared decoders, keep valid input batched, and handle unpadded base64url
tails. Add regressions for all standard encodings, batch boundaries, and
read failures.
Validation: 84 base32/base64/basenc integration tests and 3 unit tests
pass; eight GNU differential cases pass.
Closes #60081 parent aa74c61 commit 7168c18
4 files changed
Lines changed: 244 additions & 222 deletions
File tree
- src
- uucore/src/lib/features
- uu/base32/src
- tests/by-util
0 commit comments