Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177423082
D36824.1794346627.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
302 B
Referenced Files
None
Subscribers
None
D36824.1794346627.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D36824: libfetch: Use memcpy in place of an odd strncpy.
Attached
Detach File
Event Timeline