memory leak in libzfs when doing rollback
cmd - userland programs
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).
Updated by Electric Monk almost 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit b7070b7dbcc2758a7f87cefb69ad42887a287152 Author: Jan Kryl <email@example.com> Date: 2014-12-11T20:57:20.000Z 5427 memory leak in libzfs when doing rollback Reviewed by: Michael Tsymbalyuk <firstname.lastname@example.org> Reviewed by: Steven Hartland <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>