mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-19 10:50:40 +00:00
Merge pull request #6311 from GregorR/netplay-discovery-string-length-bug
Fix bug in string length in strlcpy.
This commit is contained in:
commit
f48cce2334
@ -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