Files
wlan-cloud-lib-poco/Foundation/include/Poco/RecursiveDirectoryIterator.h
Aleksandar Fabijanic e1018881ba Harden RecursiveDirectoryIterator when walking the filesystem. (#2001)
* In the implementation for the *Traverse strategies the next method performs an unguarded list directory.  If the directory is not accessible an unrecoverable error is raised thus ruining the walk.  This changeset adopts and adapts the error handling protocol as defined in Python's os.walk function where errors from listdir are ignored or are reported to an optional on error callback function.

* Expand DirectoryIteratorsTest testsuite to confirm the hardened iterator behaviour over unreadable directories.

* Expand DirectoryIteratorsTest testsuite to confirm the hardened iterator behaviour over
  unreadable directories.  Correct bad formatting

* fix clang compile
2017-11-15 10:47:44 -06:00

6.1 KiB