mirror of
https://git.tukaani.org/xz.git
synced 2025-04-04 14:50:59 +00:00
The API docs clearly say that if error_pos isn't NULL then *error is always set on any error. However, it wasn't touched if str == NULL or filters == NULL or unsupported flags were specified. Fixes: cedeeca2ea6ada5b0411b2ae10d7a859e837f203 (cherry picked from commit 70d12dd069bb9bb0d6bb1c8fafc4e6f77780263d)