gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #42375] integer overflow from asobj/Date_as.cpp:1376


From: Bastiaan Jacques
Subject: [Gnash-commit] [bug #42375] integer overflow from asobj/Date_as.cpp:1376
Date: Fri, 16 May 2014 12:20:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Update of bug #42375 (project gnash):

             Assigned to:                    None => bjacques               

    _______________________________________________________

Follow-up Comment #1:

Testcase:


var o = new Date();

o.setUTCMilliseconds(); // sets o's date to NaN
o.setUTCMilliseconds(1);


The trouble seems to be that setMilliseconds(1) does some math with a NaN
date, which overflows, as you might expect.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42375>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]