← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 1836791] [NEW] LDM SegFault when loading additional plugins

 

Public bug reported:

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.

** Affects: ldm (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "ldmplugin.c.diff"
   https://bugs.launchpad.net/bugs/1836791/+attachment/5277477/+files/ldmplugin.c.diff

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

Title:
  LDM SegFault when loading additional plugins

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


Follow ups