bugGnash - The GNU Flash player - Bugs: bug #39693, cppcheck: (error) Common realloc...

 
 

bug #39693: cppcheck: (error) Common realloc mistake: '_testBuffer' nulled but not freed upon failure

Submitted by:  Gabriele Giacone <gg0>
Submitted on:  Sun 04 Aug 2013 10:48:33 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Gabriele Giacone <gg0>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 07 Aug 2013 06:52:05 PM UTC, comment #1:

Pushed 02deaa2.

Gabriele Giacone <gg0>
Project MemberIn charge of this item.
Sun 04 Aug 2013 10:48:33 PM UTC, original submission:

[librender/agg/Renderer_agg.h:53]: (error) Common realloc mistake: '_testBuffer' nulled but not freed upon failure

Attached patch makes cppcheck happy by checking reallocation on a temporary buffer and saving old location.

Gabriele Giacone <gg0>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28756:  p02.diff added by gg0 (1kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gg0 (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Aug 2013 06:52:05 PM UTCgg0StatusNone=>Fixed
      Assigned toNone=>gg0
      Open/ClosedOpen=>Closed
    Sun 04 Aug 2013 10:48:33 PM UTCgg0Attached File-=>Added p02.diff, #28756

    Back to the top


    Powered by Savane 3.1-cleanup