Bug 66988 - [patch] apm(8) check validation of the returned values
Summary: [patch] apm(8) check validation of the returned values
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2004-05-21 13:40 UTC by Liam Foy
Modified: 2017-12-31 22:36 UTC (History)
0 users

See Also:

apm.diff (1.31 KB, patch)
2004-05-21 13:40 UTC, Liam Foy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Liam Foy 2004-05-21 13:40:11 UTC

The current apm code will check the if the values are valid when the user prints all the information. It does not however check single ones, such as if the user does apm -l. apm -l could lead to a result of -1, which is not an error but an invalid value. The same goes for the rest apm -as etc. The patch will validiate them, and print them depending on outcome.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:22 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped