Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Computation  at wimaxasncp_dict.c:2481

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

WimaxasncpDict_scan_bytes

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/wimaxasncp/wimaxasncp_dict.c)expand/collapse
Show more  
 2456  YY_BUFFER_STATE WimaxasncpDict_scan_bytes  (yyconst char * yybytes, int  _yybytes_len )
 2457  {
 2458          YY_BUFFER_STATE b;
 2459          char *buf;
 2460          yy_size_t n;
 2461          int i;
 2462       
 2463          /* Get memory for full buffer, including space for trailing EOB's. */
 2464          n = _yybytes_len + 2;
 2465          buf = (char *) WimaxasncpDictalloc(n  );
 2466          if ( ! buf )
 2467                  YY_FATAL_ERROR( "out of dynamic memory in WimaxasncpDict_scan_bytes()" );
 2468   
 2469          for ( i = 0; i < _yybytes_len; ++i )
 2470                  buf[i] = yybytes[i];
 2471   
 2472          buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
 2473   
 2474          b = WimaxasncpDict_scan_buffer(buf,n );
 2475          if ( ! b )
 2476                  YY_FATAL_ERROR( "bad buffer in WimaxasncpDict_scan_bytes()" );
 2477   
 2478          /* It's okay to grow etc. this buffer, and we should throw it 
 2479           * away when we're done.
 2480           */
 2481          b->yy_is_our_buffer = 1;
 2482   
 2483          return b;
 2484  }
Show more  




Change Warning 3938.30411 : Unreachable Computation

Priority:
State:
Finding:
Owner:
Note: