[dpdk-dev] [PATCH] compress/zlib: fix coverity warning

Akhil Goyal akhil.goyal at nxp.com
Fri Jul 26 15:59:06 CEST 2019


> Add missing return after setting the error status in case of
> invalid flush_flag in the operation.
> The issue was found by the coverity scan as the fin_flush variable,
> not initialized in such case, was used later in the flow.
> 
> CID 340859:  Uninitialized variables  (UNINIT)
> 
> Fixes: c7b436ec95fd ("compress/zlib: support burst enqueue/dequeue")
> 
> Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>
> ---
Applied to dpdk-next-crypto

Thanks.



More information about the dev mailing list