Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at capture_sync.c:754

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

sync_pipe_close_command

(/home/sate/Testcases/c/cve/wireshark-1.2.0/capture_sync.c)expand/collapse
Show more  
 736  sync_pipe_close_command(int *read_fd, gchar **msg) {
 737  #endif
 738      int fork_child_status;
 739   
 740      ws_close(*read_fd);
 741   
 742      g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_DEBUG, "sync_pipe_close_command: wait till child closed");
 743   
 744  #ifdef _WIN32 
 745      /* XXX - Should we signal the child somehow? */
 746      sync_pipe_kill(*fork_child);
 747      if (_cwait(&fork_child_status, *fork_child, _WAIT_CHILD) == -1) {
 748          *msg = g_strdup_printf("Child capture process stopped unexpectedly "
 749              "(errno:%u)", errno);
 750          return CANT_RUN_DUMPCAP;
 751      }
 752  #else
 753      if (wait(&fork_child_status) != -1) {
 754          if (WIFEXITED(fork_child_status)) {
Show more  




Change Warning 3943.29630 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: