Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Call  at radius_dict.c:2410

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

Radius_scan_buffer

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




Change Warning 3547.30293 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: