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

 
 

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

Submitter:  Bastiaan Jacques <bjacques>
Submitted:  Sat 26 Apr 2014 09:51:55 AM UTC
   
 
Category:  plugin Severity:  4 - Important
Release:  master Status:  Confirmed
Privacy:  Public Assigned to:  bjacques
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed in 7d7cce0fd1b.

Bastiaan Jacques <bjacques>
Group Member
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>
Group Member
Sat 26 Apr 2014 10:03:22 AM UTC, comment #2: 
Bastiaan Jacques <bjacques>
Group Member
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>
Group Member
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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-27 bjacques Open/ClosedOpen Closed
    2014-04-27 bjacques Severity5 - Blocker 4 - Important
        Summarybuffer overflow in GnashPluginScriptObject::readPlayer() high fd numbers in GnashPluginScriptObject::readPlayer()
    2014-04-26 bjacques Carbon-Copy- Added jgilmore

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code