bin/xbps-pkgdb/check.c: CID 62721 (argument cannot be negative)
lib/repo.c: CID 62706 (argument cannot be negative)
lib/transaction_commit.c: CID 62716 (argument cannot be negative)
bin/xbps-checkvers/main.c: CID 62705 (argument cannot be negative)
lib/transaction_sortdeps.c: CID 62717 (NULL pointer dereference)
bin/xbps-rindex/index-clean.c: CID 62708 (NULL pointer dereference)
bin/xbps-checkvers/main.c: CID 62711 (NULL pointer dereference)
bin/xbps-checkvers/main.c: CID 62712 (NULL pointer dereference)
lib/pkgdb.c: CID 62719 (NULL pointer dereference)
lib/initend.c: CID 62720 (NULL pointer dereference)
lib/util.c: CID 62710 (dead code)
lib/fetch/ftp.c: CID 62745 (unusued value)