mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +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,
|
strlcpy(host->content, ad_packet_buffer.content,
|
||||||
NETPLAY_HOST_LONGSTR_LEN);
|
NETPLAY_HOST_LONGSTR_LEN);
|
||||||
strlcpy(host->frontend, ad_packet_buffer.frontend,
|
strlcpy(host->frontend, ad_packet_buffer.frontend,
|
||||||
NETPLAY_HOST_LONGSTR_LEN);
|
NETPLAY_HOST_STR_LEN);
|
||||||
|
|
||||||
host->content_crc =
|
host->content_crc =
|
||||||
atoi(ad_packet_buffer.content_crc);
|
atoi(ad_packet_buffer.content_crc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user