(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/uat.c) |
| |
| 166 | | | gchar* uat_get_actual_filename(uat_t* uat, gboolean for_writing) { |
| 167 | | | |
| 168 | [+] | | gchar* pers_fname = get_persconffile_path(uat->filename, uat->from_profile, for_writing); |
 |
| 169 | | | |
| 170 | | | if (! for_writing ) { |
Event 6:
Taking true branch. for_writing evaluates to false.
hide
|
|
| 171 | | | gchar* data_fname = get_datafile_path(uat->filename); |
| 172 | | | |
| 173 | [+] | | if ((! file_exists(pers_fname) ) && file_exists(data_fname)) { |
Event 7:
pers_fname, which evaluates to g_strdup_printf(...) from filesystem.c:1294, is passed to file_exists(). See related event 5.
hide
|
|
 |
| 174 | | | g_free(pers_fname); |
| 175 | | | return data_fname; |
| 176 | | | } |
| 177 | | | |
| 178 | | | g_free(data_fname); |
| 179 | | | } |
| 180 | | | |
| 181 | [+] | | if ((! file_exists(pers_fname) ) && (! for_writing ) ) { |
Event 15:
pers_fname, which evaluates to g_strdup_printf(...) from filesystem.c:1294, is passed to file_exists(). See related events 5 and 9.
hide
|
|
 |
| |