Bug #2742
closed
minor memory allocation issue in svccfg:upgrade_manifestfiles()
Added by Milan Jurik about 10 years ago.
Updated about 10 years ago.
Category:
cmd - userland programs
Description
pname is allocated, never tested for success and never freed.
Files
Not only pname but also fval is not handled well.
- Status changed from In Progress to Pending RTI
changeset: 13705:70355eedf57a
user: Milan Jurik <milan.jurik@xylab.cz>
date: Sun May 27 16:49:00 2012 +0200
description:
1991 svccfg describe -t Segmentation Fault
2742 minor memory allocation issue in svccfg:upgrade_manifestfiles()
Reviewed by: Albert Lee <trisk@nexenta.com>
Reviewed by: T Nguyen <truongqnguien@gmail.com>
Approved by: Rich Lowe <richlowe@richlowe.net>
Approved by: Garrett D'Amore <garrett@damore.org>
modified:
usr/src/cmd/svc/svccfg/svccfg_libscf.c
usr/src/lib/libscf/common/scf_tmpl.c
- Status changed from Pending RTI to Resolved
Also available in: Atom
PDF