Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376212 Details for
Bug 509394
x11-misc/xdiskusage_1.48_p20111016 - re-add reading from pipe plus segfault fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix segfault caused by missing root name when reading from a pipe
xdiskusage_1.48_p20111016_segfault.patch (text/plain), 415 bytes, created by
Bernd Feige
on 2014-05-02 14:28:34 UTC
(
hide
)
Description:
Fix segfault caused by missing root name when reading from a pipe
Filename:
MIME Type:
Creator:
Bernd Feige
Created:
2014-05-02 14:28:34 UTC
Size:
415 bytes
patch
obsolete
>=== modified file 'xdiskusage.C' >--- xdiskusage.C 2014-05-02 14:00:45 +0000 >+++ xdiskusage.C 2014-05-02 14:06:12 +0000 >@@ -587,7 +587,13 @@ > wait_slider->value(v); > } > } >- if (!root->name && path) root->name = strdup(path); >+ if (!root->name) { >+ if (path) { >+ root->name = strdup(path); >+ } else { >+ root->name = strdup("stdin"); >+ } >+ } > > if (true_file) { > if (path) fclose(f); >
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 509394
:
376210
| 376212 |
376250