On 6/22/22 17:30, David Marchand wrote:
copy_data was returning a pointer to an increased (off by one) descriptor.
Subsequent calls to copy_data in the library were then failing.
Fix this by incrementing the descriptor only if there is some left data
to copy.
Fixes: 7287660a21e0 ("vhost/crypt
> -Original Message-
> From: David Marchand
> Sent: Wednesday, June 22, 2022 4:30 PM
> To: dev@dpdk.org
> Cc: Zhang, Roy Fan ; Poczatek, Jakub
> ; Maxime Coquelin
> ; Xia, Chenbo
> Subject: [PATCH] vhost/crypto: fix descriptor processing
>
> copy_data
On 6/22/22 17:30, David Marchand wrote:
copy_data was returning a pointer to an increased (off by one) descriptor.
Subsequent calls to copy_data in the library were then failing.
Fix this by incrementing the descriptor only if there is some left data
to copy.
Fixes: 7287660a21e0 ("vhost/crypt
copy_data was returning a pointer to an increased (off by one) descriptor.
Subsequent calls to copy_data in the library were then failing.
Fix this by incrementing the descriptor only if there is some left data
to copy.
Fixes: 7287660a21e0 ("vhost/crypto: fix build with GCC 12")
Reported-by: Jaku
4 matches
Mail list logo