![]() |
lvs-devel
|
| 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 http://vger.kernel.org/majordomo-info.html |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ipvsadm: One-packet scheduling with UDP service is unstable, Drunkard Zhang |
|---|---|
| Next by Date: | Re: ipvsadm: One-packet scheduling with UDP service is unstable, Julian Anastasov |
| Previous by Thread: | [PATCH] ipvsadm: init svc in ipvs_get_service, Julian Anastasov |
| Next by Thread: | Re: [PATCH] ipvsadm: init svc in ipvs_get_service, Ryan O'Hara |
| Indexes: | [Date] [Thread] [Top] [All Lists] |