mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
SCP: Migrate some use of strcat() to sim_strlcat()
This commit is contained in:
@@ -1144,7 +1144,7 @@ int load_pcap(void) {
|
||||
char npcap_path[512] = "";
|
||||
|
||||
if (p_GetSystemDirectory (npcap_path, sizeof(npcap_path) - 7))
|
||||
strcat (npcap_path, "\\Npcap");
|
||||
sim_strlcat (npcap_path, "\\Npcap", sizeof(npcap_path));
|
||||
if (p_SetDllDirectory(npcap_path))
|
||||
hLib = LoadLibraryA(lib_name);
|
||||
p_SetDllDirectory (NULL);
|
||||
|
||||
Reference in New Issue
Block a user