Text   |  XML   |  ReML   |   Visible Warnings:

Free Null Pointer  at data-stack.c:167

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

free_blocks

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/data-stack.c)expand/collapse
Show more  
 153  static void free_blocks(struct stack_block *block)
 154  {
 155          struct stack_block *next;
 156   
 157          /* free all the blocks, except if any of them is bigger than
 158             unused_block, replace it */
 159          while (block != NULL) {
 160                  next = block->next;
 161   
 162                  if (clean_after_pop)
 163                          memset(STACK_BLOCK_DATA(block), CLEAR_CHR, block->size);
 164   
 165                  if (unused_block == NULL || block->size > unused_block->size) {
 166  #ifndef USE_GC 
 167                          free(unused_block);
Show more  




Change Warning 7041.24424 : Free Null Pointer

Priority:
State:
Finding:
Owner:
Note: