Project

General

Profile

Actions

Bug #7933

closed

libcfgadm: memory leak in do_list_common()

Added by Yuri Pankov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-03-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

There is apparent memory leak in do_list_common() which does not free result of di_devfs_path: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libcfgadm/common/config_admin.c#2589

Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

git commit 25d3556849fcbe4fe5d517e1add48e0b2d585c70

commit  25d3556849fcbe4fe5d517e1add48e0b2d585c70
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2017-03-05T17:21:02.000Z

    7933 libcfgadm: memory leak in do_list_common()
    Reviewed by: Jan Kryl <jan.kryl@nexenta.com>
    Reviewed by: Dan Fields <dan.fields@nexenta.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF