now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "io_internal.h"
|
||||
#endif
|
||||
|
||||
int socket_accept6(int s,char* ip,uint16* port,uint32* scope_id)
|
||||
int socket_accept6(int s,char ip[16],uint16* port,uint32* scope_id)
|
||||
{
|
||||
#ifdef LIBC_HAS_IP6
|
||||
struct sockaddr_in6 sa;
|
||||
|
||||
Reference in New Issue
Block a user