Project

General

Profile

Bug #5427

memory leak in libzfs when doing rollback

Added by Jan Kryl almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
cmd - userland programs
Start date:
2014-12-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

Discovered by libumem when testing rollback. In zfs_iter_bookmarks is allocated nvlist before calling lzc_get_bookmarks, which allocates the nvlist again (and overwrites the pointer to previously allocated list).

History

#1

Updated by Electric Monk almost 5 years ago

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

git commit b7070b7dbcc2758a7f87cefb69ad42887a287152

commit  b7070b7dbcc2758a7f87cefb69ad42887a287152
Author: Jan Kryl <jan.kryl@nexenta.com>
Date:   2014-12-11T20:57:20.000Z

    5427 memory leak in libzfs when doing rollback
    Reviewed by: Michael Tsymbalyuk <mtzaurus@gmail.com>
    Reviewed by: Steven Hartland <killing@multiplay.co.uk>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF