mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +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…
Reference in New Issue
Block a user