[procps] coverity made me do it

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: Procps-ng Mail list <procps@xxxxxxxxxxxxx>
  • Date: Wed, 27 Oct 2021 13:37:55 -0500

Hi Craig,

The most recent coverity scan raised several alerts for newlib top and the readproc module.

For the top program they boiled down to 'Intentional' or 'False Positive' which I asked coverity to ignore.

For readproc, they are valid (though minor) 'Resource leaks' so I prepared a patch to address them.

There's one additional patch included that would likely embarrass anyone else.



Other related posts:

  • » [procps] coverity made me do it - Jim Warner