Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #461  -  cppcheck results, some memory leaks
Posted Feb 14, 2013 - updated Jul 06, 2013   Shortlink: http://arx.vg/461
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Postponed" and resolution "POSTPONED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Postponed
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Guest user
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Not determined
  • Resolution
    POSTPONED
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
Here are some easy hacks, reported by "cppcheck" (open source C++ static analyzer). Most of them are minor (style, performance, etc), but there are also some real errors like memory leaks, suspicous calculations and null pointer derefs.

  1.  
Steps to reproduce this issue
Nothing entered.

#1
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jul 06, 03:38
Some of these problems have been fixed in the cleanup branch, others (that aren't false positives) will be fixed as time permits. I will generate up to date cppcheck, flawfinder and clang-analyzer logs at http://arx-libertatis.org/buildlogs/arx/branches/master/

Thanks for reporting this, but in the future please file individual bug reports (or send patches) for the actual problems.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from New to Postponed.
  • The resolution has been updated, from Not determined to POSTPONED.
  • This issue's progression has been updated to 100 percent completed.