Re: [PATCH net] dccp: Allocate enough data in ccid_get_builtin_ccids()

Simon Horman
2023-07-26T12:56:01Z

On Wed, Jul 26, 2023 at 01:47:02PM +0300, Dan Carpenter wrote:
> This is allocating the ARRAY_SIZE() instead of the number of bytes. The
> array size is 1 or 2 depending on the .config and it should allocate
> 8 or 16 bytes instead.
>
> Fixes: ddebc973c56b ("dccp: Lockless integration of CCID congestion-control plugins")
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>

Reviewed-by: Simon Horman <simon.horman@corigine.com>