string utils: Make sure don't return uninitialized memory.
The function lxc_string_split_quoted and lxc_string_split_and_trim use
realloc to reduce the memory. But the result may be NULL, the the
returned memory will be uninitialized
Signed-off-by:
LiFeng <lifeng68@huawei.com>
Showing
Please
register
or
sign in
to comment