Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Call  at ascend-scanner.c:2348

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

ascend_scan_buffer

(/home/sate/Testcases/c/cve/wireshark-1.2.0/wiretap/ascend-scanner.c)expand/collapse
Show more  
 2338  YY_BUFFER_STATE ascend_scan_buffer  (char * base, yy_size_t  size )
 2339  {
 2340          YY_BUFFER_STATE b;
 2341       
 2342          if ( size < 2 ||
 2343               base[size-2] != YY_END_OF_BUFFER_CHAR ||
 2344               base[size-1] != YY_END_OF_BUFFER_CHAR )
 2345                  /* They forgot to leave room for the EOB's. */
 2346                  return 0;
 2347   
 2348          b = (YY_BUFFER_STATE) ascendalloc(sizeof( struct yy_buffer_state )  );
 2349          if ( ! b )
 2350                  YY_FATAL_ERROR( "out of dynamic memory in ascend_scan_buffer()" );
 2351   
 2352          b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
 2353          b->yy_buf_pos = b->yy_ch_buf = base;
 2354          b->yy_is_our_buffer = 0;
 2355          b->yy_input_file = 0;
 2356          b->yy_n_chars = b->yy_buf_size;
 2357          b->yy_is_interactive = 0;
 2358          b->yy_at_bol = 1;
 2359          b->yy_fill_buffer = 0;
 2360          b->yy_buffer_status = YY_BUFFER_NEW;
 2361   
 2362          ascend_switch_to_buffer(b  );
 2363   
 2364          return b;
 2365  }
Show more  




Change Warning 1069.30279 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: