> Coverity pointed out that, if the final segment of the session key being
> written is not a full segment, the loop could potentially read past the
> end of the source buffer. Use RTE_MIN() to make sure to only copy as much
> of the key as is left.
>
> Coverity issue: 426432
> Fixes: 6bc7f2cf6687 ("crypto/ionic: support sessions")
>
> Signed-off-by: Andrew Boyer <[email protected]>
Series applied to dpdk-next-crypto
Thanks.
- [PATCH 1/2] crypto/ionic: fix buffer overrun when writing ses... Andrew Boyer
- [PATCH 2/2] crypto/ionic: fix sign extension in queue al... Andrew Boyer
- RE: [EXTERNAL] [PATCH 1/2] crypto/ionic: fix buffer over... Akhil Goyal

