[lvc-project] [PATCH net-next] tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function
    Paolo Abeni 
    pabeni at redhat.com
       
    Wed Mar  6 14:36:39 MSK 2024
    
    
  
On Wed, 2024-03-06 at 09:57 +0000, Gavrilov Ilia wrote:
> The 'len' variable can't be negative because all 'min_t' parameters
> cast to unsigned int, and then the minimum one is chosen.
The above is incorrect, as the 'len' variable is a signed integer 
The same applies to the following patches. 
Cheers,
Paolo
    
    
More information about the lvc-project
mailing list