Text   |  XML   |  ReML   |   Visible Warnings:

File System Race Condition  at recent.c:881

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

recent_read_dynamic

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/recent.c)expand/collapse
Show more  
 865  recent_read_dynamic(char **rf_path_return, int *rf_errno_return)
 866  {
 867    char       *rf_path;
 868    FILE       *rf;
 869   
 870   
 871    /* Construct the pathname of the user's recent file. */
 872[+]   rf_path = get_persconffile_path(RECENT_COMMON_FILE_NAME, FALSE, FALSE);
 873[+]   if (!file_exists (rf_path)) {
 874      /* Recent common file does not exist, read from recent */
 875      g_free (rf_path);
 876      rf_path = get_persconffile_path(RECENT_FILE_NAME, FALSE, FALSE);
 877    }
 878   
 879    /* Read the user's recent file, if it exists. */
 880    *rf_path_return = NULL;
 881    if ((rf = ws_fopen(rf_path, "r")) != NULL) {
Show more  




Change Warning 4159.30413 : File System Race Condition

Priority:
State:
Finding:
Owner:
Note: