printf("%La\n", 1e1000L) crashes with segv.

Corinna Vinschen vinschen@redhat.com
Mon Nov 29 12:26:36 GMT 2021


On Nov 29 20:01, Takashi Yano wrote:
> 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.

This is great, please push.


Thanks,
Corinna



More information about the Newlib mailing list