Re: [PATCH] ipvsadm: init svc in ipvs_get_service

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: [PATCH] ipvsadm: init svc in ipvs_get_service
Cc: lvs-devel@xxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Mon, 26 Aug 2013 16:14:07 +0900
On Sat, Aug 24, 2013 at 01:40:53PM +0300, Julian Anastasov wrote:
> ipvs_get_service() needs to init the allocated svc
> for the non-netlink case due to the used CHECK_COMPAT_SVC
> macro that includes pe_name[0] check in CHECK_PE. Use
> calloc to avoid reading random data.
> For the netlink case use malloc as before.
> Signed-off-by: Julian Anastasov <ja@xxxxxx>

Thanks, applied.
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

<Prev in Thread] Current Thread [Next in Thread>