Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234765 Details for
Bug 318287
sys-power/cpufreqd buffer overflow w/gcc-4.5 and CFLAGS -O1 or -O2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to increase path buffer size to PATH_MAX
cpufreqd-path-max.patch (text/plain), 472 bytes, created by
Perttu Luukko
on 2010-06-09 20:03:40 UTC
(
hide
)
Description:
Patch to increase path buffer size to PATH_MAX
Filename:
MIME Type:
Creator:
Perttu Luukko
Created:
2010-06-09 20:03:40 UTC
Size:
472 bytes
patch
obsolete
>diff -Nur cpufreqd-2.4.2/src/cpufreqd.h cpufreqd-2.4.2-new/src/cpufreqd.h >--- cpufreqd-2.4.2/src/cpufreqd.h 2010-03-07 13:44:56.000000000 +0200 >+++ cpufreqd-2.4.2-new/src/cpufreqd.h 2010-06-09 22:36:30.548346769 +0300 >@@ -54,6 +54,12 @@ > #define DEFAULT_VERBOSITY 3 > > #define MAX_STRING_LEN 255 >-#define MAX_PATH_LEN 512 >+ >+#ifdef HAVE_LIMITS_H >+#include "limits.h" >+#define MAX_PATH_LEN PATH_MAX >+#else >+#define MAX_PATH_LEN 512 >+#endif > > #endif /* __CPUFREQD_H__ */
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 318287
:
234765
|
257121
|
260892
|
274391
|
277235
|
291197