Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223491 Details for
Bug 309341
sci-libs/libmuscle-3.7-r1 produces a buffer overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch that solved the problem for me.
ramfix.patch (text/plain), 591 bytes, created by
Jessica Leigh
on 2010-03-14 07:13:01 UTC
(
hide
)
Description:
A patch that solved the problem for me.
Filename:
MIME Type:
Creator:
Jessica Leigh
Created:
2010-03-14 07:13:01 UTC
Size:
591 bytes
patch
obsolete
>--- libMUSCLE/globalslinux.cpp.old 2010-03-14 19:03:14.000000000 +1300 >+++ libMUSCLE/globalslinux.cpp 2010-03-14 19:11:09.000000000 +1300 >@@ -159,7 +159,7 @@ > } > return DEFAULT_RAM; > } >- int Bytes = atoi(pMem+9)*1000; >+ long Bytes = atol(pMem+9)*1000; > return ((double) Bytes)/1e6; > } > >--- libMUSCLE/progress.cpp.old 2010-03-14 19:50:27.000000000 +1300 >+++ libMUSCLE/progress.cpp 2010-03-14 19:51:07.000000000 +1300 >@@ -48,7 +48,7 @@ > if (MB < 0) > return ""; > >- static char Str[9]; >+ static char Str[11]; > static double MaxMB = 0; > static double RAMMB = 0; >
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 309341
: 223491