Bug 1536765 - Libguestfs Perl bindings can leak a small amount of memory on error
Summary: Libguestfs Perl bindings can leak a small amount of memory on error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-20 22:18 UTC by Demi Marie Obenour
Modified: 2018-01-22 17:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-22 17:57:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Demi Marie Obenour 2018-01-20 22:18:54 UTC
Description of problem:

The libguestfs Perl bindings can leak a small amount of memory, if there is a missing entry in an array.  Specifically, `croak()` is called, which leaks a pointer allocated with `malloc()`.

Comment 1 Richard W.M. Jones 2018-01-22 17:06:44 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2018-January/msg00183.html

Comment 2 Richard W.M. Jones 2018-01-22 17:57:35 UTC
Fixed in >= 1.37.36.


Note You need to log in before you can comment on or make changes to this bug.