bugGnash - The GNU Flash player - Bugs: bug #42199, high fd numbers in...

 
 

bug #42199: high fd numbers in GnashPluginScriptObject::readPlayer()

Submitted by:  Bastiaan Jacques <bjacques>
Submitted on:  Sat 26 Apr 2014 09:51:55 AM UTC  
 
Category: pluginSeverity: 4 - Important
Release: masterStatus: Confirmed
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.

 

Tue 27 May 2014 07:21:08 PM UTC, comment #4:

Fixed in 7d7cce0fd1b.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sun 27 Apr 2014 03:54:02 PM UTC, comment #3:

The stack overflow should be fixed in 63de409c6d. However, as yet I have no explanation for the cause of the high fd numbers. So I'm leaving this open to investigate the cause.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sat 26 Apr 2014 10:03:22 AM UTC, comment #2:

A second report, fd=757935405:
https://bugzilla.redhat.com/attachment.cgi?id=836609

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sat 26 Apr 2014 09:56:52 AM UTC, comment #1:

That's downstream, not up, of course. The user reports:

"I don't really remember what I was doing, but I think that something CPU/RAM intensive happened - like falling into an infinite loop of refreshing a website or visiting an enormous page."

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sat 26 Apr 2014 09:51:55 AM UTC, original submission:

Upstream bug includes stacktrace: https://bugzilla.redhat.com/show_bug.cgi?id=1065335

In the stacktrace it can be seen that the plugin causes a buffer overflow. Fortunately, the overflow is caught by the stack protectors Fedora enables by default.

The stacktrace shows that fd=32767 which is equal to FD_SETSIZE; FD_SET is known to be unable to handle an fd this large.

The implication is that Firefox has a huge number of file descriptors opened; I'm not sure whether this is Gnash's fault.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjacques (Submitted the item)
  • -unavailable- added by bjacques
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 27 May 2014 07:21:08 PM UTCbjacquesOpen/ClosedOpen=>Closed
    Sun 27 Apr 2014 03:54:02 PM UTCbjacquesSeverity5 - Blocker=>4 - Important
      Summarybuffer overflow in GnashPluginScriptObject::readPlayer()=>high fd numbers in GnashPluginScriptObject::readPlayer()
    Sat 26 Apr 2014 09:51:55 AM UTCbjacquesCarbon-Copy-=>Added jgilmore

    Back to the top


    Powered by Savane 3.1-cleanup1