[dm-devel] memory leak from orphan_path()

Gioh Kim gi-oh.kim at profitbricks.com
Thu Jul 14 14:52:45 UTC 2016


Hello,

I've found that orphan_path() function just set pp->getuid as NULL.
But it can have a string allocated by strdup.
I think it should be freed by free().

I sent a patch and experiment result but I got a reply that my email is 
'unprocessed'.
So I could not attach my patch but it's very easy for you to catch.

I'd appreciate if you would give me any feedback.

-- 
Best regards,
Gioh Kim




More information about the dm-devel mailing list