Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at tap-rpcstat.c:304

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

rpcstat_init

(/home/sate/Testcases/c/cve/wireshark-1.2.0/tap-rpcstat.c)expand/collapse
Show more  
 294          rs->version=version;
 295          if(filter){
 296                  rs->filter=g_strdup(filter);
 297          } else {
 298                  rs->filter=NULL;
 299          }
 300          rpc_program=program;
 301          rpc_version=version;
 302          rpc_min_proc=-1;
 303          rpc_max_proc=-1;
 304          g_hash_table_foreach(rpc_procs, (GHFunc)rpcstat_find_procs, NULL);
 305          if(rpc_min_proc==-1){
 306                  fprintf(stderr,"tshark: Invalid -z rpc,rrt,%d,%d\n",rpc_program,rpc_version);
 307                  fprintf(stderr,"   Program:%d version:%d isn't supported by tshark.\n", rpc_program, rpc_version);
 308                  exit(1);
 309          }
 310   
 311   
 312          rs->num_procedures=rpc_max_proc+1;
 313          rs->procedures=g_malloc(sizeof(rpc_procedure_t)*(rs->num_procedures+1));
 314          for(i=0;i<rs->num_procedures;i++){
Show more  




Change Warning 875.29228 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: