[Bug 1836791] Re: LDM SegFault when loading additional plugins

Ubuntu Foundations Team Bug Bot 1836791 at bugs.launchpad.net
Tue Jul 16 20:22:02 UTC 2019


The attachment "ldmplugin.c.diff" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ldm in Ubuntu.
https://bugs.launchpad.net/bugs/1836791

Title:
  LDM SegFault when loading additional plugins

Status in ldm package in Ubuntu:
  New

Bug description:
  By developing a plugin for LDM, I figured out that LDM load correctly
  up to 2 plugins, but when I try to load a third plugin, the program
  crashes with a Segmentation Fault.

  Using Valgrind, I discovered that the problem came from the
  ldm_init_plugin function in ldmplugin.c. The plugin_names array is
  freed twice and there is a writing operation out of his memory
  allocation.

  The attached patch fixes this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldm/+bug/1836791/+subscriptions



More information about the foundations-bugs mailing list