[lxc-devel] [PATCH] Fix invalid free() in lxc_global_config_value().

Andrey Mazo mazo at telum.ru
Tue Dec 24 07:29:23 UTC 2013


Thank you!

I saw your patch with strdup(), but it was too late: I received notification from github about your commit and my email from the list at the same time.:)

On Mon, 23 Dec 2013 22:31:46 +0400, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:

> Quoting Andrey Mazo (mazo at telum.ru):
>> Commit 4878dac496543dae0a26f5c1156bbfda63c8ea62 introduced possible
>> incorrect usage of free().
>> Also remove unneeded strdup().
>>
>> Signed-off-by: Andrey Mazo <mazo at telum.ru>
>
> Thanks, I had added an strdup instead, but that's not needed.
> Will push yours.
>
> Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

-- 
Andrey Mazo.


More information about the lxc-devel mailing list