printf("%La\n", 1e1000L) crashes with segv.
Takashi Yano
takashi.yano@nifty.ne.jp
Mon Nov 29 11:01:22 GMT 2021
On Sun, 28 Nov 2021 16:49:53 +0900
Takashi Yano wrote:
> I noticed that printf("%La\n", 1e1000L) crashes with segv.
> I confirmed this in 32bit cygwin, however, I guess this is
> newlib issue.
>
> Is this the known issue?
I found that the main cause of this issue is lack of frexpl()
function. This is not implemented yet in newlib.
I have made a patch which implements frexpl() to fix this issue.
Please see attachd patch.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stdio-Fix-issue-of-printing-La-format-with-large-exp.patch
Type: application/octet-stream
Size: 6135 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20211129/90d991bd/attachment.obj>
More information about the Newlib
mailing list