diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-18 19:12:24 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-18 19:12:24 +0900 |
commit | b48f40f863c80c9f8394cfd5e8c3716191611888 (patch) | |
tree | a9ee6502cd5771bc0ed3a336e9b5cfdeaba86e63 /src/host.c | |
parent | 79285280a55c9a420947620ae20d327563f9ce78 (diff) |
パッケージ情報の追加
Diffstat (limited to 'src/host.c')
-rw-r--r-- | src/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ const char *run_host_command(const char *command) { out = nout; - memcpy(out + outsize, buf, len); + memccpy(out + outsize, buf, sizeof(buf), len); outsize += len; out[outsize] = '\0'; } |