Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 291197 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]
cpufreqd-2.4.2-PATH_MAX.patch
cpufreqd-2.4.2-PATH_MAX.patch (text/plain), 411 bytes, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2011-10-30 04:16:54 UTC
(
hide
)
Description:
cpufreqd-2.4.2-PATH_MAX.patch
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2011-10-30 04:16:54 UTC
Size:
411 bytes
patch
obsolete
>https://bugs.gentoo.org/318287: Fix buffer bound checks causing an >abort when -f commandline parameter is passed. > >--- a/src/cpufreqd.h >+++ b/src/cpufreqd.h >@@ -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