[ovs-git] [openvswitch/ovs] 7b398b: ovs-ofctl: Fix bad free in colors_parse_from_env()...
GitHub
noreply at github.com
Wed Nov 29 16:37:59 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 7b398b07cd9884b06474f5bf2246eef22279852e
https://github.com/openvswitch/ovs/commit/7b398b07cd9884b06474f5bf2246eef22279852e
Author: Lili Huang <huanglili.huang at huawei.com>
Date: 2017-11-29 (Wed, 29 Nov 2017)
Changed paths:
M lib/colors.c
Log Message:
-----------
ovs-ofctl: Fix bad free in colors_parse_from_env().
OVS_COLORS variable color_str is parsed by using xstrdup and strsep,
we should free original address of the string, not used after strsep.
Signed-off-by: Lili Huang <huanglili.huang at huawei.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>
More information about the git
mailing list