Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47055 Details for
Bug 74995
absent LABEL in fstab causes "mount -a" to segment fault
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't call streq(..) in mounted(..) if an argument would be NULL.
util-linux-2.12i-check_not_NULL.patch (text/plain), 630 bytes, created by
Emil Beinroth
on 2004-12-28 13:23:05 UTC
(
hide
)
Description:
Don't call streq(..) in mounted(..) if an argument would be NULL.
Filename:
MIME Type:
Creator:
Emil Beinroth
Created:
2004-12-28 13:23:05 UTC
Size:
630 bytes
patch
obsolete
>diff -Naur util-linux-2.12i.org/mount/mount.c util-linux-2.12i//mount/mount.c >--- util-linux-2.12i.org/mount/mount.c 2004-12-28 21:28:41.396843952 +0100 >+++ util-linux-2.12i//mount/mount.c 2004-12-28 21:28:41.331853832 +0100 >@@ -1207,11 +1207,12 @@ > > mc0 = mtab_head(); > for (mc = mc0->nxt; mc && mc != mc0; mc = mc->nxt) >- if (streq (spec, mc->m.mnt_fsname) && >- streq (node, mc->m.mnt_dir)) { >- ret = 1; >- break; >- } >+ if (spec && mc->m.mnt_fsname && node && mc->m.mnt_dir && >+ streq (spec, mc->m.mnt_fsname) && >+ streq (node, mc->m.mnt_dir)) { >+ ret = 1; >+ break; >+ } > > free(spec); > free(node);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 74995
:
46382
| 47055