cppcheck analysis of xfrisk_1.2-3.dsc
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: ''.
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: '_AIX'.
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./aiClientMain.c:243 [error] - Invalid number of character (() when these macros are defined: '__hpux'.
- ./aiController.c:349 [error] - Invalid number of character (() when these macros are defined: ''.
- ./aiController.c:349 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./aiController.c:349 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./aiController.c:349 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: ''.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: 'CARD_DEBUG'.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: 'DICE_AI'.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./callbacks.c:443 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./cards.c:589 [error] - Invalid number of character (() when these macros are defined: ''.
- ./cards.c:589 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./cards.c:589 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./cards.c:589 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./cards.c:589 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./debug.c:124 [error] - Null pointer dereference
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: ''.
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: 'DICE_AI'.
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: 'DROPALL'.
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./game.c:162 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./gui.c:497 [error] - Invalid number of character (() when these macros are defined: ''.
- ./gui.c:497 [error] - Invalid number of character (() when these macros are defined: 'DICE_AI'.
- ./gui.c:497 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./gui.c:497 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./gui.c:497 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./gui.c:497 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./help.c:96 [error] - Invalid number of character (() when these macros are defined: ''.
- ./help.c:140 [error] - Common realloc mistake: "pstrHelpCStrings" nulled but not freed upon failure
- ./help.c:143 [error] - Common realloc mistake: "pstrIndexCStrings" nulled but not freed upon failure
- ./help.c:96 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./help.c:96 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./help.c:96 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./help.c:96 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./network.c:404 [error] - Memory leak: pmsgMess
- ./network.c:415 [error] - Memory leak: pmsgMess
- ./network.c:429 [error] - Memory leak: pmsgMess
- ./network.c:440 [error] - Memory leak: pmsgMess
- ./network.c:452 [error] - Memory leak: pmsgMess
- ./network.c:463 [error] - Memory leak: pmsgMess
- ./network.c:475 [error] - Memory leak: pmsgMess
- ./network.c:488 [error] - Memory leak: pmsgMess
- ./network.c:500 [error] - Memory leak: pmsgMess
- ./network.c:510 [error] - Memory leak: pmsgMess
- ./network.c:520 [error] - Memory leak: pmsgMess
- ./network.c:530 [error] - Memory leak: pmsgMess
- ./network.c:543 [error] - Memory leak: pmsgMess
- ./network.c:556 [error] - Memory leak: pmsgMess
- ./network.c:568 [error] - Memory leak: pmsgMess
- ./network.c:578 [error] - Memory leak: pmsgMess
- ./network.c:591 [error] - Memory leak: pmsgMess
- ./network.c:602 [error] - Memory leak: pmsgMess
- ./network.c:618 [error] - Memory leak: pmsgMess
- ./network.c:629 [error] - Memory leak: pmsgMess
- ./network.c:641 [error] - Memory leak: pmsgMess
- ./network.c:653 [error] - Memory leak: pmsgMess
- ./network.c:664 [error] - Memory leak: pmsgMess
- ./network.c:675 [error] - Memory leak: pmsgMess
- ./registerPlayers.c:309 [error] - Invalid number of character (() when these macros are defined: ''.
- ./registerPlayers.c:309 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./registerPlayers.c:309 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./registerPlayers.c:309 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./registerPlayers.c:309 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: ''.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: 'TEST_GAME'.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: '_AIX'.
- ./server.c:1577 [error] - Invalid number of character (() when these macros are defined: '__hpux'.
- ./utils.c:302 [error] - Invalid number of character (() when these macros are defined: ''.
- ./utils.c:302 [error] - Invalid number of character (() when these macros are defined: 'DICE_AI'.
- ./utils.c:302 [error] - Invalid number of character (() when these macros are defined: 'MAX'.
- ./utils.c:302 [error] - Invalid number of character (() when these macros are defined: 'MEM_DEBUG'.
- ./utils.c:302 [error] - Invalid number of character (() when these macros are defined: 'MIN'.
- ./utils.c:302 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:20:31 +0000, based on results by cppcheck 1.46