SEGV in mountall
Bug #448323 reported by
Robert Gerlach
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
Karmic |
Fix Released
|
High
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: mountall
Mountall segfault after the last upgrade.
(gdb) bt
#0 strcmp () at ../sysdeps/
#1 0x00e7b608 in parse_mountinfo () at mountall.c:821
#2 0x00e824f2 in main (argc=1, argv=0xbffff7f4) at mountall.c:2852
(mountall 0.2.1, recompiled with -ggdb)
Changed in mountall (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mountall (Ubuntu Karmic): | |
assignee: | nobody → Scott James Remnant (scott) |
milestone: | none → ubuntu-9.10 |
Changed in mountall (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
--- src/mountall.c 2009-10-12 17:12:47 +0000
continue;
+++ src/mountall.c 2009-10-12 17:14:38 +0000
@@ -820,9 +820,8 @@
device = strtok_r (NULL, " \t\n", &saveptr);
if (! device)
- if (! strcmp (device, "/dev/root"))
- device = NULL;
- if (! strcmp (device, "none"))
+ if ((! strcmp (device, "/dev/root"))
+ (! strcmp (device, "none")))
device = NULL;
/* superblock opts */
Does this even build?