gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #33338] segfault in fb-gnash, getSupportedOptions()


From: Sandro Santilli
Subject: [Gnash-commit] [bug #33338] segfault in fb-gnash, getSupportedOptions()
Date: Thu, 19 May 2011 07:38:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

Update of bug #33338 (project gnash):

                Category:                    core => gui                    

    _______________________________________________________

Follow-up Comment #2:

Ah, now it makes sense, as handlers.front() would return an invalid iterator
at best, an exception if you're lucky, and in this case it looks like a
segfault...

The fix would be to check for handlers.size() before calling .front() and skip
the setMedia call at all if it isn't found

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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