After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567004 - ladspa plugin crashes on Solaris
ladspa plugin crashes on Solaris
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other opensolaris
: Normal normal
: 0.10.10
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-08 09:43 UTC by Brian Cameron
Modified: 2009-01-08 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch fixing problem (711 bytes, patch)
2009-01-08 09:44 UTC, Brian Cameron
none Details | Review
improved patch (916 bytes, patch)
2009-01-08 17:42 UTC, Wim Taymans
accepted-commit_now Details | Review

Description Brian Cameron 2009-01-08 09:43:57 UTC
The ladspa plugin crashes on Solaris when it tries to build the registry due to a NULL printf.  The attached patch fixes this issue.
Comment 1 Brian Cameron 2009-01-08 09:44:20 UTC
Created attachment 126017 [details] [review]
patch fixing problem
Comment 2 Wim Taymans 2009-01-08 17:42:22 UTC
Created attachment 126044 [details] [review]
improved patch

Avoid adding the string "(null)' to the plugin search path because that will only cause trouble.
Comment 3 Wim Taymans 2009-01-08 18:01:37 UTC
        Based on Patch by: Brian Cameron <brian dot cameron at sun dot com>

        * ext/ladspa/search.c: (LADSPAPluginSearch):
        Avoid searching (null) paths or crashing on platforms where printing a
        NULL string segfaults. Fixes #567004.