Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_InitBignumFromDouble() does not check for NaN

Opend6d850993300b6680153f2a270505920a874a67eCreated 4 years agoUpdated 4 years ago
Descriptionwiki2023-04-08 22:12:48
Tcl_InitBignumFromDouble() does not check for NaN input, causing the mp_int to be initialized without error (invoking unspecified behavior of frexp() and ldexp()), except on Windows where it currently errors due to NaN being mistaken for an infinity (see [87986108835a]).
Log in (anonymous is fine) to add a comment.