Page MenuHomeFreeBSD

D36824.1794346627.diff
No OneTemporary

Authored By
Unknown
Size
302 B
Referenced Files
None
Subscribers
None

D36824.1794346627.diff

diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -456,7 +456,7 @@
goto fail;
}
*ptr++ = strlen(host);
- strncpy(ptr, host, strlen(host));
+ memcpy(ptr, host, strlen(host));
ptr = ptr + strlen(host);
port = htons(port);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 10, 9:37 PM (13 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41646835
Default Alt Text
D36824.1794346627.diff (302 B)

Event Timeline