Merge lp:~vrruiz/nspluginwrapper/fix-raring into lp:nspluginwrapper
Status: | Needs review | ||||||||
---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp:~vrruiz/nspluginwrapper/fix-raring | ||||||||
Merge into: | lp:nspluginwrapper | ||||||||
Diff against target: |
15 lines (+1/-1) 1 file modified
debian/patches/005_process_env_dirs.diff (+1/-1) |
||||||||
To merge this branch: | bzr merge lp:~vrruiz/nspluginwrapper/fix-raring | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray | Needs Fixing | ||
Review via email: mp+165680@code.launchpad.net |
Commit message
Fix segfault in Raring.
Description of the change
nspluginwrapper segfaults in Raring. This happens because get_env_plugin_dirs doesn't set correctly the count when NSPLUGIN_DIRS env variable is not set in 005_process_
+const gchar **get_env_
+{
+ char *ns_plugin_dir = getenv(
+ *count = 0;
+ if (ns_plugin_dir == NULL)
+ return NULL;
Segfault is produced in get_mozilla_
+ const gchar **env_dirs = get_env_
+ const char **dirs = malloc(
Unmerged revisions
- 58. By Víctor R. Ruiz
-
Fix segfault in raring
- 57. By Víctor R. Ruiz
-
Fix segfault in Raring
This did not seem to fix the crash in raring for me. nspluginwrapper --list still crashes and purging nspluginwrapper and nspluginviewer and then reinstalling them still causes a coredump.