Red Hat Bugzilla – Bug 479149
Crash in npwrapper.so due to malloc misuse
Last modified: 2009-01-13 08:42:17 EST
Description of problem:
An rpc callback in the firefox-side wrapper .so uses an NPW_* function to allocate an array, but then an NPN_* function to free it. These two groups of functions use a different underlying allocator thus malloc raises SIGABRT.
Version-Release number of selected component (if applicable):
Mon 05 Jan 2009 10:43:05 GMT firefox-3.0.5-1.fc9.x86_64
Fri 12 Dec 2008 13:31:30 GMT nspluginwrapper-1.1.10-1.fc9.x86_64
Fri 12 Dec 2008 13:31:56 GMT nspluginwrapper-1.1.10-1.fc9.i386
Thu 11 Dec 2008 12:26:40 GMT mozilla-vlc-0.9.8a-1.fc9.x86_64
For me, 100%. Problem noticed on an x86_64 system running up-to-date F9 with nspluginwrapper and libvlcplugin.so (from mozilla-vlc-0.9.8a-1) installed. The above URL contains an EMBEDded Quicktime file, which attempts to load libvlcplugin.so.
Steps to Reproduce:
1. Install relevant components
2. Go to above URL
At best an embedded video player. At worst a grey rectangle.
Created attachment 328396 [details]
Fix for crash
This is a quick fix for just the immediate problem.
I wouldn't be surprised if similar problems occurred elsewhere though.
You're right. Seems to be already fixed in 1.3.0, thanks!