In nvs_embedded(), when we return EINVAL due to reaching the recursion limit, we should free the nvpriv_t that was allocated earlier in the function.
Reviewed by: Pavel Zakharov <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Prashanth Sreenivasa <[email protected]> You can view, comment on, or merge this pull request online at: https://github.com/openzfs/openzfs/pull/398 -- Commit Summary -- * 8375 Kernel memory leak in nvpair code -- File Changes -- M usr/src/common/nvpair/nvpair.c (6) -- Patch Links -- https://github.com/openzfs/openzfs/pull/398.patch https://github.com/openzfs/openzfs/pull/398.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/398 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T93f31a64593342e6-M0200c385525a49f469a0223c Powered by Topicbox: https://topicbox.com
