Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Call  at mate_parser.c:2098

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

Mate_scan_buffer

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/mate/mate_parser.c)expand/collapse
Show more  
 2088  YY_BUFFER_STATE Mate_scan_buffer  (char * base, yy_size_t  size )
 2089  {
 2090          YY_BUFFER_STATE b;
 2091       
 2092          if ( size < 2 ||
 2093               base[size-2] != YY_END_OF_BUFFER_CHAR ||
 2094               base[size-1] != YY_END_OF_BUFFER_CHAR )
 2095                  /* They forgot to leave room for the EOB's. */
 2096                  return 0;
 2097   
 2098          b = (YY_BUFFER_STATE) Matealloc(sizeof( struct yy_buffer_state )  );
 2099          if ( ! b )
 2100                  YY_FATAL_ERROR( "out of dynamic memory in Mate_scan_buffer()" );
 2101   
 2102          b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
 2103          b->yy_buf_pos = b->yy_ch_buf = base;
 2104          b->yy_is_our_buffer = 0;
 2105          b->yy_input_file = 0;
 2106          b->yy_n_chars = b->yy_buf_size;
 2107          b->yy_is_interactive = 0;
 2108          b->yy_at_bol = 1;
 2109          b->yy_fill_buffer = 0;
 2110          b->yy_buffer_status = YY_BUFFER_NEW;
 2111   
 2112          Mate_switch_to_buffer(b  );
 2113   
 2114          return b;
 2115  }
Show more  




Change Warning 3747.30297 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: