Skip to content
  • Timo Teräs's avatar
    apk: sanitize return value · 7c90fd05
    Timo Teräs authored
    
    
    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: default avatarMax Justicz <max@justi.cz>
    (cherry picked from commit 7b654e12)
    7c90fd05