Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152988246
D36824.id111395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
302 B
Referenced Files
None
Subscribers
None
D36824.id111395.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
Sun, Apr 19, 12:10 PM (41 m, 53 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31733518
Default Alt Text
D36824.id111395.diff (302 B)
Attached To
Mode
D36824: libfetch: Use memcpy in place of an odd strncpy.
Attached
Detach File
Event Timeline
Log In to Comment