Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66718

Summary: atanks patches
Product: Gentoo Linux Reporter: basic <basic>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: crash patch
money overflow patch
crash patch v2
money overflow patch

Description basic 2004-10-07 19:24:32 UTC
I have 2 patches for atanks,
 1) for the crasher when meteor shower and lightning options are turned on. Not sure if I got them all, but I've yet to get atanks to crash with this patch.
 2) for the upper and lower limits of "money", that is to get it not to overflow when going beyond the limits.

Reproducible: Always
Steps to Reproduce:
Comment 1 basic 2004-10-07 19:25:45 UTC
Created attachment 41333 [details, diff]
crash patch

this is the patch for the crasher bug
Comment 2 basic 2004-10-07 19:27:06 UTC
Created attachment 41334 [details, diff]
money overflow patch

this is the money overflow patch
Comment 3 basic 2004-10-10 13:16:00 UTC
Created attachment 41481 [details, diff]
crash patch v2

more null checks
Comment 4 basic 2004-10-10 13:18:02 UTC
Created attachment 41482 [details, diff]
money overflow patch

use 0 as the lower limit rather than LONG_MIN and more complete upper limit
check
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 00:16:22 UTC
added to CVS.  resync and remerge to get them.  Thanks for the bug report and patches.