Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106058102
D26280.id76501.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
371 B
Referenced Files
None
Subscribers
None
D26280.id76501.diff
View Options
Index: lib/libc/stdlib/strfmon.c
===================================================================
--- lib/libc/stdlib/strfmon.c
+++ lib/libc/stdlib/strfmon.c
@@ -645,7 +645,7 @@
memset(bufend, pad_char, padded);
}
- bufsize = bufsize - (bufend - rslt) + 1;
+ bufsize = rslt + bufsize - bufend;
memmove(rslt, bufend, bufsize);
free(avalue);
return (rslt);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 4:23 PM (5 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15597251
Default Alt Text
D26280.id76501.diff (371 B)
Attached To
Mode
D26280: Compute the correct size of the string to move forward.
Attached
Detach File
Event Timeline
Log In to Comment