bugGNU gettext - Bugs: bug #17659, potential memory leak in...

 
 

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

bug #17659: potential memory leak in autosprintf::operator char * ()

Submitter:  None
Submitted:  Fri 08 Sep 2006 11:46:19 PM UTC
   
 
Category:  Programmer interface Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sat 01 Sep 2007 09:18:55 AM UTC, comment #1: 

Thank you for reporting this. I am adding mention of these
memory management details to the documentation.

Bruno Haible <haible>
Group administrator
Fri 08 Sep 2006 11:46:19 PM UTC, original submission:  

the char * cast operator returns a copy of the temporary
string. this copy is allocated via new[], but never gets
deleted[], nor does the documentation mention that one has
to delete[] the returned pointer.

Anonymous

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-26 haible CategoryNone Programmer interface
    2007-09-30 haible Open/ClosedOpen Closed
    2007-09-01 haible StatusNone Fixed
        Assigned toNone haible

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code