HomeFreeBSD

config: address a number of Coverity issues

Description

config: address a number of Coverity issues

Highlights:

  • Various memory leaks
  • FILE* leaks
  • tsize in moveifchanged() is only needed if !changed, and from_sb is only valid if !changed.
  • Simplify trivially true expression
  • Sanity check elfdump size output (+ fix variable sizes) (des@)

CID: 1471167, 1006391, 1505333, 1505275, 1505349, 1505306, 1505232
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D38643

Details

Provenance
kevansAuthored on Feb 16 2023, 8:36 PM
Reviewer
imp
Differential Revision
D38643: config: address a number of Coverity issues
Parents
rGda8884202940: config: error out on malformed env/hint lines
Branches
Unknown
Tags
Unknown