bugGnash - The GNU Flash player - Bugs: bug #42375, integer overflow from...

 
 

bug #42375: integer overflow from asobj/Date_as.cpp:1376

Submitted by:  Gabriele Giacone <gg0>
Submitted on:  Fri 16 May 2014 10:51:08 AM UTC  
 
Category: coreSeverity: 3 - Normal
Release: masterStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 16 May 2014 11:33:51 PM UTC, comment #2:

4a15e8fcf0

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Fri 16 May 2014 12:20:07 PM UTC, comment #1:

Testcase:

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

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Fri 16 May 2014 10:51:08 AM UTC, original submission:

Ubsan reported the following error, see http://gnashdev.org:8010/builders/rawhide-linux-i386/builds/334/steps/make_anal_verbose/logs/stdio :

asobj/Date_as.cpp:1376:25: runtime error: signed integer overflow: -2146058015 + -1425805 cannot be represented in type 'int'

Attached backtrace.

Gabriele Giacone <gg0>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #31388:  bt added by gg0 (70KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by gg0 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 May 2014 08:01:57 AM UTCbjacquesStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 16 May 2014 11:33:51 PM UTCbjacquesStatusNone=>Ready For Test
    Fri 16 May 2014 12:20:07 PM UTCbjacquesAssigned toNone=>bjacques
    Fri 16 May 2014 10:51:08 AM UTCgg0Attached File-=>Added bt, #31388

    Back to the top


    Powered by Savane 3.1-cleanup1