mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix bug in string length in strlcpy.
This commit is contained in:
parent
5888718c04
commit
8cf4127695
@ -488,7 +488,7 @@ static bool netplay_lan_ad_client(void)
|
||||
strlcpy(host->content, ad_packet_buffer.content,
|
||||
NETPLAY_HOST_LONGSTR_LEN);
|
||||
strlcpy(host->frontend, ad_packet_buffer.frontend,
|
||||
NETPLAY_HOST_LONGSTR_LEN);
|
||||
NETPLAY_HOST_STR_LEN);
|
||||
|
||||
host->content_crc =
|
||||
atoi(ad_packet_buffer.content_crc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user