Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106130649
D26280.id76563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
D26280.id76563.diff
View Options
Index: head/lib/libc/stdlib/strfmon.c
===================================================================
--- head/lib/libc/stdlib/strfmon.c
+++ head/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
Thu, Dec 26, 10:04 PM (11 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15604124
Default Alt Text
D26280.id76563.diff (386 B)
Attached To
Mode
D26280: Compute the correct size of the string to move forward.
Attached
Detach File
Event Timeline
Log In to Comment