Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Call  at wimaxasncp_dict.c:2416

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

WimaxasncpDict_scan_buffer

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/wimaxasncp/wimaxasncp_dict.c)expand/collapse
Show more  
 2406  YY_BUFFER_STATE WimaxasncpDict_scan_buffer  (char * base, yy_size_t  size )
 2407  {
 2408          YY_BUFFER_STATE b;
 2409       
 2410          if ( size < 2 ||
 2411               base[size-2] != YY_END_OF_BUFFER_CHAR ||
 2412               base[size-1] != YY_END_OF_BUFFER_CHAR )
 2413                  /* They forgot to leave room for the EOB's. */
 2414                  return 0;
 2415   
 2416          b = (YY_BUFFER_STATE) WimaxasncpDictalloc(sizeof( struct yy_buffer_state )  );
 2417          if ( ! b )
 2418                  YY_FATAL_ERROR( "out of dynamic memory in WimaxasncpDict_scan_buffer()" );
 2419   
 2420          b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
 2421          b->yy_buf_pos = b->yy_ch_buf = base;
 2422          b->yy_is_our_buffer = 0;
 2423          b->yy_input_file = 0;
 2424          b->yy_n_chars = b->yy_buf_size;
 2425          b->yy_is_interactive = 0;
 2426          b->yy_at_bol = 1;
 2427          b->yy_fill_buffer = 0;
 2428          b->yy_buffer_status = YY_BUFFER_NEW;
 2429   
 2430          WimaxasncpDict_switch_to_buffer(b  );
 2431   
 2432          return b;
 2433  }
Show more  




Change Warning 3936.30299 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: