Bug #5427
memory leak in libzfs when doing rollback
Start date:
2014-12-11
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
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).
Updated by Electric Monk about 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
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>