Empty configuration file causes leafpad to crash

Bug #366016 reported by MilkaJinka on 2009-04-24
Affects Status Importance Assigned to Milestone
leafpad (Ubuntu)
Lionel Le Folgoc

Bug Description

Binary package hint: leafpad

Tested in Jaunty, but was present in earlier versions.

To reproduce :
- Open ~/.config/leafpad/leafpadrc
- The file should contain some parameters
- Empty the file
- Launch leafpad from a terminal: you'll get a fragmentation error
- Delete the configuration file
- Leafpad will create a new one and run correctly

I don't know why but I had an empty configuration file, so I wasn't able to use leafpad until removing the file.

Changed in leafpad (Ubuntu):
status: New → In Progress
assignee: nobody → Lionel Le Folgoc (mrpouit)
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package leafpad - 0.8.13-1ubuntu1

leafpad (0.8.13-1ubuntu1) karmic; urgency=low

  * "Port" patches from mousepad:
    - debian/patches/00_resensitize-find-button.patch: re-sensitize
      "Find/Replace" button when the dialog is shown up again LP: #439275
    - debian/patches/01_fix-sigserv-invalid-config.patch: fix crash with
      empty/invalid config file. LP: #366016

 -- Lionel Le Folgoc <email address hidden> Wed, 07 Oct 2009 17:26:28 +0200

Changed in leafpad (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers