diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-08-05 19:01:49 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-09 23:55:45 -0700 |
commit | e4353cb4a73d99a3baeff93ea638047e038f2a65 (patch) | |
tree | ff966bbc71e4e612d25b709e3696c4d0b1c4690b /profile.c | |
parent | 1f4267d0938e8a7347300d7ad258cb439ceddcfc (diff) | |
download | subsurface-e4353cb4a73d99a3baeff93ea638047e038f2a65.tar.gz |
Report empty file error instead of OOM
If we are trying to open an empty file, skip the attempts to parse the
input and report an appropriate error message.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions