Opened 11 years ago
Last modified 11 years ago
#9928 closed bug
sprintf() crash with 'a'/'A' format specifier — at Version 3
Reported by: | bonefish | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/libroot.so | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Encountered when configuring the m4 build on Haiku PM f73d05a79b96bf945010ef04a0813ac67c4ab386 x86 gcc4: The call
sprintf(buf, "%.1La", 1.999L);
crashes in __printf_fphex()
.
Change History (4)
by , 11 years ago
Attachment: | conftest.c added |
---|
comment:1 by , 11 years ago
Component: | - General → System/libroot.so |
---|---|
Owner: | changed from | to
follow-up: 3 comment:2 by , 11 years ago
format '%s' expects argument of type 'char*', but argument 3 has type 'long double' ...
comment:3 by , 11 years ago
Description: | modified (diff) |
---|
Replying to starsseed:
format '%s' expects argument of type 'char*', but argument 3 has type 'long double' ...
Just a typo in the description.
Note:
See TracTickets
for help on using tickets.
Crashing test