mirror of https://github.com/ARMmbed/mbed-os.git
If the FileBase::lookup operation in the constructor of FilePath returns NULL, subsequent operations (such as isFile()/isFileSystem()) will call methods on a NULL 'fb' pointer. This commit fixes this issue by adding explicit NULL checks and a new method in FilePath (exists()). |
||
|---|---|---|
| .. | ||
| USBDevice | ||
| USBHost | ||
| doc | ||
| dsp | ||
| fs | ||
| mbed | ||
| net | ||
| rpc | ||
| rtos | ||
| tests | ||