+- **Multiple ARC/ARC-Seal parser crashes**: Fixed SIGSEGV (large RSA signatures exceeding the 512-byte token limit), SIGABRT (malformed tokens with no `=` sign hitting `assert()` in `strip_whitespace`), memory leaks, and NULL pointer dereferences in ARC header parsing. Also fixed a memory leak where `as_hdr_new` was allocated but not freed on the invalid-header path. Unknown auth methods in AAR headers (e.g. `dara=` from Gmail) are now skipped rather than rejecting the entire header. CRLF line folding in AAR headers is now handled correctly. Adds `test_arcares` unit tests covering all these cases. (#296, issues #183, #186, #222, #236, #238, #241, #242)
0 commit comments