bugGNUstep - Bugs: bug #3993, NSString's format methods leak...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3993: NSString's format methods leak memory when handling %s, %S, or %@ for strings longer than 8191 characters

Submitted by:  Alexander Malmberg <alexm>
Submitted on:  Mon 16 Jun 2003 11:32:22 AM UTC  
 
Category: Base/FoundationSeverity: 4 - Important
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 16 Jun 2003 11:40:14 AM UTC, comment #1:

Fixed in cvs (2003-06-16).

Alexander Malmberg <alexm>
Project Member
Mon 16 Jun 2003 11:32:22 AM UTC, original submission:

Submitted by Miroslav Novy to bug-gnustep:

Hi,
I have a problem with size of used memory in using the method
stringWithFormat (class NSString)
on gnustep-base 1.6.0 on solaris 2.8 (sparc) with gcc 2.95.3 (or gcc 3.2.1).
I have made the attached tool for example.
If I use in this tool string with size <= 8193 [B] is it OK, but if is
the size >8193 there is a problem
with size of used memory.

Mira

Alexander Malmberg <alexm>
Project Member

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 16 Jun 2003 11:40:14 AM UTCalexmStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1