On 10/7/2025 10:01 AM, Youssef Samir wrote:
> From: Aswin Venkatesan <[email protected]>
> 
> Found via code inspection that when encode_message() fails in the middle
> of processing, instead of returning the actual error code, it always
> returns -EINVAL. This is because the entire message length has not been
> processed, and the error code is set to -EINVAL.
> Instead, take the 'out' path on failure to return the actual error code.
> 
> Signed-off-by: Aswin Venkatesan <[email protected]>
> Signed-off-by: Youssef Samir <[email protected]>
> ---
Reviewed-by: Carl Vanderlip <[email protected]>

Reply via email to