Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 379714 Details for
Bug 485496
sys-apps/lshw-02.17b - lshw -short: segmentation fault while accessing block device with corrupt partition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lshw-03.17b-scsi.patch
lshw-02.17b-scsi.patch (text/plain), 460 bytes, created by
Juergen Rose
on 2014-06-26 11:35:53 UTC
(
hide
)
Description:
lshw-03.17b-scsi.patch
Filename:
MIME Type:
Creator:
Juergen Rose
Created:
2014-06-26 11:35:53 UTC
Size:
460 bytes
patch
obsolete
>--- lshw-B.02.17_orig/src/core/scsi.cc 2013-03-13 21:52:25.000000000 +0100 >+++ lshw-B.02.17/src/core/scsi.cc 2014-06-26 13:14:07.000000000 +0200 >@@ -482,7 +482,7 @@ > if (do_inq(sg_fd, 0, 1, 0x80, rsp_buff, MX_ALLOC_LEN, 0)) > { >- len = rsp_buff[3]; >- if (len > 0) >- node.setSerial(hw::strip(string(rsp_buff + 4, len))); >+ int new_len = rsp_buff[3]; >+ if (new_len > 0) >+ node.setSerial(hw::strip(string(rsp_buff + 4, new_len))); > } >
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 485496
:
377946
|
377948
| 379714 |
379716