bugGlobulation 2 - Bugs: bug #20642, glob2 allocates 1.4G of memory!

 
 

bug #20642: glob2 allocates 1.4G of memory!

Submitted by:  Nicolas Bonifas <nicolas_bonifas>
Submitted on:  Tue 31 Jul 2007 10:15:50 AM UTC  
 
Severity: 3 - NormalStatus: None
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 31 Jul 2007 10:15:50 AM UTC, original submission:

When I click "Custom game", glob2 allocates 1.4G of memory!
The bug comes from the function BinaryInputStream::readText (which was called with this=0x8331e50 and name=0x82925fe "mapName"), at line 82 of libgag/src/BinaryStream.cpp.
After running the first line of this function (size_t len = readUint32(NULL);), len has value 1397049186!!!
I'm running Linux 2.6.15 i686 with glibc6 2.6.

Globulation 2 version:
Globulation 2 - 0.8.24
Compiled on Jul 31 2007 at 11:16:21

Nicolas Bonifas <nicolas_bonifas>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by genixpro (Updated the item)
  • -unavailable- added by nicolas_bonifas (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Aug 2007 06:34:10 AM UTCgenixproOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1