[dpdk-dev] [PATCH] examples/l2fwd-crypto: fix uninitialized errno value

Rybalchenko, Kirill kirill.rybalchenko at intel.com
Mon Sep 4 16:53:28 CEST 2017



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Hemant Agrawal
> Sent: Wednesday 23 August 2017 13:24
> To: dev at dpdk.org
> Cc: Doherty, Declan <declan.doherty at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; akhil.goyal at nxp.com
> Subject: [dpdk-dev] [PATCH] examples/l2fwd-crypto: fix uninitialized errno
> value
> 
> errno should be initialized to 0 before calling strtol
> 
> Fixes: 1df9c0109f4c ("examples/l2fwd-crypto: parse key parameters")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---
>  examples/l2fwd-crypto/main.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko at intel.com>





More information about the dev mailing list