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

Bug#301745: null pointer dereference in plugin.c:318



Package: libflash-mozplugin
Version: 0.4.11-2

When viewing http://www.wildgardenseed.com/apkg/flash-demo-install.html
I get the following:

(gdb) r
Starting program: /usr/lib/mozilla-firefox/firefox-bin
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 182943243584 (LWP 14618)]
(no debugging symbols found)
[New Thread 1124071792 (LWP 14626)]
NP_Initialize
New
SetWindow

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182943243584 (LWP 14618)]
NPP_SetWindow (instance=0x143be88, window=0x149e918) at plugin.c:318
318             This->dpy = ws->display;
(gdb) bt full
#0  NPP_SetWindow (instance=0x143be88, window=0x149e918) at plugin.c:318
        This = (PluginInstance *) 0x13b3c30
        ws = (NPSetWindowCallbackStruct *) 0x0
        xwa = {x = -1073764256, y = 127, width = -1789524228, height = 42,
  border_width = 0, depth = 0, visual = 0x1447160, root = 548682049664,
  class = -1789524228, bit_gravity = 42, win_gravity = -1663918256,
  backing_store = 42, backing_planes = 21621016, backing_pixel = 20925248,
  save_under = -1789523630, colormap = 10, map_installed = 0, map_state = 0,
  all_event_masks = 548682048368, your_event_mask = 21621016,
  do_not_propagate_mask = 21216904, override_redirect = 1, screen = 0x0}
#1  0x0000002a9cd2c16e in Private_SetWindow (instance=0x143be88,
    window=0x149e918) at npunix.c:194
        err = 0
#2  0x0000002a9cc03fcb in ?? ()
   from /usr/lib/mozilla-firefox/components/libgkplugin.so
No symbol table info available.
<snip backtrace of functions without symbol tables>

ws gets set from window->ws_info which is NULL. There's a check that
window isn't NULL, but not window->ws_info.



Reply to: