Bug 252119 - ports-mgmt/pkg 1.16 outputs "(null)" for "pkg audit -q" when no vulnerable packages are installed
Summary: ports-mgmt/pkg 1.16 outputs "(null)" for "pkg audit -q" when no vulnerable pa...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-24 22:46 UTC by Thomas Steen Rasmussen / Tykling
Modified: 2020-12-26 15:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Steen Rasmussen / Tykling 2020-12-24 22:46:21 UTC
Hello

After upgrading pkg to 1.16 all my monitoring for vulnerable packages started making noise.

Before pkg 1.16 "pkg audit -q" would not output anything if no packages were vulnerable, and would output one line per vulnerable package otherwise. I use this in a simple script to keep an eye on things.

After pkg 1.16 it outputs the string "(null)" to stdout when no vulnerable packages are installed, meaning my monitoring now says that I have 1 vulnerable package everywhere :)
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2020-12-26 15:49:11 UTC
fixed in 1.16.1