Opened 11 years ago
Closed 11 years ago
#9928 closed bug (fixed)
sprintf() crash with 'a'/'A' format specifier
Reported by: | bonefish | Owned by: | zooey |
---|---|---|---|
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()
.
Attachments (1)
Change History (6)
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.
comment:4 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Should be fixed in hrev45984 (and in HaikuPM, too).
Note:
See TracTickets
for help on using tickets.
Crashing test