Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149812622
D54380.1790954153.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
397 B
Referenced Files
None
Subscribers
None
D54380.1790954153.diff
View Options
diff --git a/lib/libc/gen/uexterr_format.c b/lib/libc/gen/uexterr_format.c
--- a/lib/libc/gen/uexterr_format.c
+++ b/lib/libc/gen/uexterr_format.c
@@ -29,7 +29,8 @@
ue->error, ue->cat, ue->src_line,
(uintmax_t)ue->p1, (uintmax_t)ue->p2);
} else {
- strlcpy(buf, ue->msg, bufsz);
+ snprintf(buf, bufsz, ue->msg, (uintmax_t)ue->p1,
+ (uintmax_t)ue->p2);
}
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 2, 3:15 PM (52 m, 15 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30106201
Default Alt Text
D54380.1790954153.diff (397 B)
Attached To
Mode
D54380: exterror: support %d in error messages
Attached
Detach File
Event Timeline
Log In to Comment