Text   |  XML   |  ReML   |   Visible Warnings:

File System Race Condition  at filesystem.c:1014

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

delete_directory

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/filesystem.c)expand/collapse
Show more  
 1002  delete_directory (const char *directory, char **pf_dir_path_return)
 1003  {
 1004          WS_DIR *dir;
 1005          WS_DIRENT *file;
 1006          gchar *filename;
 1007          int ret = 0;
 1008   
 1009          if ((dir = ws_dir_open(directory, 0, NULL)) != NULL) {
 1010                  while ((file = ws_dir_read_name(dir)) != NULL) {
 1011                          filename = g_strdup_printf ("%s%s%s", directory, G_DIR_SEPARATOR_S,
 1012                                                      ws_dir_get_name(file));
 1013[+]                         if (test_for_directory(filename) != EISDIR) {
 1014                                  ret = ws_remove(filename);
Show more  




Change Warning 4235.30230 : File System Race Condition

Priority:
State:
Finding:
Owner:
Note: