Stop crashing when a NULL filename is passed to file_status()

Stop crashing when a NULL filename is passed to file_status(),
instead, return FN_ERROR.
Also return FN_ERROR when a zero-length filename is passed to file_status().
Fixed as part of bug 13111.
This commit is contained in:
teor
2014-11-08 20:03:21 +11:00
parent bac6d542c9
commit ce7fd6e160
2 changed files with 12 additions and 1 deletions
@@ -0,0 +1,7 @@
o Minor bugfixes
- Stop crashing when a NULL filename is passed to file_status().
Fixed as part of bug 13111.
o Minor enhancements:
- Return FN_ERROR when a zero-length filename is passed to file_status().
Fixed as part of bug 13111.