[ovs-dev] [PATCH] ovs-lldp: Avoid free() of static data in aa_print_element_status_port().
Russell Bryant
rbryant at redhat.com
Thu Apr 16 16:35:05 UTC 2015
On 04/16/2015 11:52 AM, Ben Pfaff wrote:
> In some cases 'id' could point to the static string "<None>", which was
> then passed to free() even though it must not be. This commit fixes the
> problem.
>
> Found by LLVM scan-build.
>
> Reported-by: Kevin Lo <kevlo at FreeBSD.org>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>
--
Russell Bryant
More information about the dev
mailing list