Project

General

Profile

Bug #6194

potential leak of memory pointed to by 'rc_tags' in libfruraw

Added by Alexander Eremin over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2015-09-01
Due date:
% Done:

100%

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

Description

File: /code/nza-kernel/usr/src/lib/libfru/libfruraw/i386/../fruraw.c
rc_tags is not freed in case of FRU_FAILURE after line 675


Related issues

Related to illumos gate - Bug #7516: more leaks in libfrurawNew2016-10-27

Actions
#1

Updated by Yuri Pankov about 4 years ago

  • Subject changed from Potential leak of memory pointed to by 'rc_tags' to potential leak of memory pointed to by 'rc_tags' in libfruraw
  • Category set to lib - userland libraries
  • Assignee set to Yuri Pankov
  • Difficulty changed from Medium to Bite-size
  • Tags deleted (needs-triage)

looks like rc_tags are actually unused there

#2

Updated by Yuri Pankov about 4 years ago

  • Related to Bug #7516: more leaks in libfruraw added
#3

Updated by Electric Monk about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 8c2118a549b481a22fb9226d58e50c775144c49a

commit  8c2118a549b481a22fb9226d58e50c775144c49a
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2016-10-27T23:30:25.000Z

    6194 potential leak of memory pointed to by 'rc_tags' in libfruraw
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF