Page MenuHomeFreeBSD

D54380.1794401172.diff
No OneTemporary

Authored By
Unknown
Size
397 B
Referenced Files
None
Subscribers
None

D54380.1794401172.diff

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

Mime Type
text/plain
Expires
Wed, Nov 11, 12:46 PM (12 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41659625
Default Alt Text
D54380.1794401172.diff (397 B)

Event Timeline