mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-25 04:08:42 +00:00
Fix off-by-one error in point format parsing
This commit is contained in:
committed by
Paul Bakker
parent
87a8ffeaba
commit
fd35af1579
@@ -801,7 +801,7 @@ static int ssl_parse_supported_point_formats_ext( ssl_context *ssl,
|
||||
return( POLARSSL_ERR_SSL_BAD_HS_SERVER_HELLO );
|
||||
}
|
||||
|
||||
p = buf + 2;
|
||||
p = buf + 1;
|
||||
while( list_size > 0 )
|
||||
{
|
||||
if( p[0] == POLARSSL_ECP_PF_UNCOMPRESSED ||
|
||||
|
||||
Reference in New Issue
Block a user