This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apk: sanitize return value
Most applets return whatever apk_solver_commit() returns. It is the number of errors found (or negative for hard error). Sanitize the error value to not give false success exit code in the unlikely case of errors % 256 == 0. Reported-by: Max Justicz <email@example.com>
- Loading branch information
Showing 1 changed file with 2 additions and 0 deletions.