GNU GRUB - Bugs: bug #41582, Double free in grub-probe when...
You are not allowed to post comments on this tracker with your current authentication level.
bug #41582: Double free in grub-probe when using LVM
Submitter: | Vladimir Smirnov <civil> | ||
Submitted: | Thu 13 Feb 2014 07:33:42 PM UTC | ||
Votes: | 13 | ||
Category: | User Interface | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | Fixed | Privacy: | Public |
Assigned to: | None | Originator Name: | Vladimir Smirnov |
Open/Closed: | Closed | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Sat 14 Feb 2015 04:12:29 PM UTC, comment #5: |
Andrei Borzenkov <arvidjaar> |
Thu 03 Jul 2014 02:53:15 PM UTC, comment #4: AFAIK, we've talked about that via IRC. Yes, this patch also fix the problem.
|
Vladimir Smirnov <civil> |
Sun 22 Jun 2014 01:57:46 AM UTC, comment #3: vg->name is the same as lv->name for MDRAID. Please try attached patch. |
Vladimir Serbinenko <phcoder> |
Thu 19 Jun 2014 05:56:48 PM UTC, comment #2: I have used the patches submitted by Vladimir and it correctly addresses the problem.
|
Paul Lupa <plupa> |
Thu 13 Feb 2014 07:45:57 PM UTC, comment #1: I've forgot to mention some details (may be important):
|
Vladimir Smirnov <civil> |
Thu 13 Feb 2014 07:33:42 PM UTC, original submission:
I've upgraded grub from 1.99 to 2.0 (also tried 2.02 beta2 and git master), and I've found a bug in grub-probe, when running it says:
|
Vladimir Smirnov <civil> |
Depends on the following items: None found
Items that depend on this one: None found
There are 13 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-02-14 | arvidjaar | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2014-10-05 | ppawlow | Carbon-Copy | - | Added ppawlow | |
2014-06-22 | phcoder | Attached File | - | Added 1.diff, #31590 | |
2014-06-19 | plupa | Carbon-Copy | - | Added plupa | |
2014-02-13 | civil | Attached File | - | Added 0001-Fix-double-free-when-using-LVM.patch, #30542 | |
Attached File | - | Added 0002-Fix-small-memory-leak.patch, #30543 |
Powered by Savane 3.13-cf05.
Corresponding source code
I now pushed fc535b32b9fe0cd84213724ffba43b98e2da6ab4 with different fix that makes sure each string is allocated independently in grub_diskfilter_make_raid. This avoids need to special case it. It also closes memory leak you mention and also in grub_diskfilter_make_raid failure branch.
Please reopen if you still see it.