Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881586 Details for
Bug 921536
games-puzzle/magiccube4d-2.2-r1 crash trying to read save state
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to drop unused variable causing overflow
magiccube4d-2.2-overflow.patch (text/plain), 688 bytes, created by
Khumba
on 2024-01-07 03:37:40 UTC
(
hide
)
Description:
Patch to drop unused variable causing overflow
Filename:
MIME Type:
Creator:
Khumba
Created:
2024-01-07 03:37:40 UTC
Size:
688 bytes
patch
obsolete
>diff -ru magiccube4d-src-2_2/MacroManager.cpp magiccube4d-src-2_2-b/MacroManager.cpp >--- magiccube4d-src-2_2/MacroManager.cpp 2003-06-09 14:01:07.000000000 -0700 >+++ magiccube4d-src-2_2-b/MacroManager.cpp 2024-01-01 08:18:33.506996196 -0800 >@@ -246,10 +246,6 @@ > int face, stickerwithinface; > struct stickerspec sticker; > char name[1234]; >- char format[10]; >- sprintf(format, " @%%%d[^@]@(", (int)sizeof(name) - 1); >- sprintf(format, " @%%[^@]@("); /* ARGH! FIX THIS-- maybe the other way >- worked after all, check it out */ > /* FIX THIS! overflow is quite likely if the final delimiter is missing > in the file */ >
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 921536
:
881585
| 881586