POV-Ray : Newsgroups : povray.general : Bug verification: POV-Ray crashes if values are to long : Re: Bug verification: POV-Ray crashes if values are to long Server Time
9 Aug 2024 21:17:35 EDT (-0400)
  Re: Bug verification: POV-Ray crashes if values are to long  
From: Manuel Moser
Date: 2 May 2000 10:33:10
Message: <390DB899.AE7FA619@gmx.de>
"Peter J. Holzer" wrote:
[...]
> I suspect that this is a bug in Watcom's sscanf implementation. You may
> try to compile and run this program, and see if it crashes, too:
> 
> #include <stdio.h>
> 
> int main(void) {
>     double d;
>     
sscanf("12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345","%lf",
&d);
>     printf("%f\n", d);
>     return 0;
> }

Can somebody try this for me, because I don't have Watcom and, apart
from that, I don't have any experience with compiling C code.

-- 
  >>> Manuel Moser  -  mos### [at] gmxde  <<<

Check AniTMT, a free software to create photorealistic animations:
       German: http://www.anitmt.de/  English: http://www.anitmt.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.