mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Prevent crash in net_http.c function
This commit is contained in:
parent
0087801ea7
commit
64a866af84
@ -200,6 +200,8 @@ error:
|
||||
|
||||
bool net_http_connection_iterate(struct http_connection_t *conn)
|
||||
{
|
||||
if (!conn)
|
||||
return false;
|
||||
if (*conn->scan != '/' && *conn->scan != ':' && *conn->scan != '\0')
|
||||
{
|
||||
conn->scan++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user