Track the number of affected pkgs as well and display to the user.
modified libpkg/pkg.h.in
@@ -1694,7 +1694,7 @@ int pkg_audit_process(struct pkg_audit *audit);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -766,7 +766,7 @@ pkg_audit_print_entry(struct pkg_audit_entry *e, UT_string *sb,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -807,6 +807,9 @@ pkg_audit_is_vulnerable(struct pkg_audit *audit, struct pkg *pkg,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -816,6 +819,9 @@ pkg_audit_is_vulnerable(struct pkg_audit *audit, struct pkg *pkg,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/audit.c
@@ -120,7 +120,7 @@ exec_audit(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -276,7 +276,7 @@ exec_audit(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -302,7 +302,8 @@ exec_audit(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/upgrade.c
@@ -149,7 +149,7 @@ check_vulnerable(struct pkg_audit *audit, struct pkgdb *db, int sock)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|