Text   |  XML   |  ReML   |   Visible Warnings:

Integer Overflow of Allocation Size  at diam_dict.c:2728

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

yy_push_state

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/diam_dict.c)expand/collapse
Show more  
 2721      static void yy_push_state (int  new_state )
 2722  {
 2723          if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) )
 2724                  {
 2725                  yy_size_t new_size;
 2726   
 2727                  (yy_start_stack_depth) += YY_START_STACK_INCR;
 2728                  new_size = (yy_start_stack_depth) * sizeof( int );
 2729   
 2730                  if ( ! (yy_start_stack) )
 2731[+]                         (yy_start_stack) = (int *) DiamDictalloc(new_size  );
expand/collapse

DiamDictalloc

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/diam_dict.c)expand/collapse
Show more  
 2947  void *DiamDictalloc (yy_size_t  size )
 2948  {
 2949          return (void *) malloc( size );
Show more  
Show more  




Change Warning 2292.30098 : Integer Overflow of Allocation Size

Priority:
State:
Finding:
Owner:
Note: