Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 291702 Details for
Bug 425941
vol_id loops forever if it founds a malformed line in /etc/passwd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for the source of the loop
udev-095-getpwnam.patch (text/plain), 557 bytes, created by
Harald Hoyer
on 2008-01-15 10:55:42 UTC
(
hide
)
Description:
patch for the source of the loop
Filename:
MIME Type:
Creator:
Harald Hoyer
Created:
2008-01-15 10:55:42 UTC
Size:
557 bytes
patch
obsolete
>diff -up udev-095/udev_libc_wrapper.c.pwnam udev-095/udev_libc_wrapper.c >--- udev-095/udev_libc_wrapper.c.pwnam 2008-01-15 11:41:07.000000000 +0100 >+++ udev-095/udev_libc_wrapper.c 2008-01-15 11:41:10.000000000 +0100 >@@ -184,8 +184,10 @@ static unsigned long get_id_field_by_nam > /* skip password and n other fields */ > field -= 2; > while (field > 0) { >- if ((pos == NULL) || (strsep(&pos, ":") == NULL)) >- continue; >+ if ((pos == NULL) || (strsep(&pos, ":") == NULL)) { >+ pos = NULL; >+ break; >+ } > field--; > } > if (pos == NULL)
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 425941
:
289762
| 291702