bugGnash - The GNU Flash player - Bugs: bug #36002, plugin crash...

 
 

bug #36002: plugin crash (basic_string::_S_construct null not valid) on squidoo.com

Submitted by:  Bastiaan Jacques <bjacques>
Submitted on:  Sun 25 Mar 2012 10:10:34 PM UTC  
 
Category: pluginSeverity: 6 - Security
Release: masterStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 26 Mar 2012 01:02:46 PM UTC, comment #2:

It doesn't crash anymore, but it doesn't load flickr photos. Filing a different bug.
Fixed with e32d5beb.

Gabriele Giacone <gg0>
Project Member
Sun 25 Mar 2012 10:44:15 PM UTC, comment #1:

I've committed a fix for this bug. Note that the code presently precludes non-string arguments.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sun 25 Mar 2012 10:10:34 PM UTC, original submission:

STR:
1. Visit http://www.squidoo.com/kitchen-blinds
2. (If you're using a click-to-play setting): Play the Flash movie directly under 'kitchen Window Blinds Flickr Photos'.
3. Observe Firefox segfault, or plugin-container if using a recent Firefox:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid

Downstream bug URL: https://bugzilla.redhat.com/show_bug.cgi?id=672745

Terminal output suggests std::string constructor is being fed a NULL pointer. The backtrace from the RH Bugzilla points to nsPluginInstance::processPlayerRequest(). A casual reading of that function suggests API misuse: calling NPVARIANT_TO_STRING() on an NPVariant without checking whether that NPVariant is actually a string.

Gdb appears to confirm that suspicion:

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 gg0 (Posted a comment)
  • -unavailable- added by bjacques (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Mar 2012 01:02:46 PM UTCgg0StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 25 Mar 2012 10:44:15 PM UTCbjacquesStatusConfirmed=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup