summaryrefslogtreecommitdiffstats
path: root/uemis.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-01-07 16:41:19 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-09 09:29:10 +0800
commit304f5e8569fb7786d50bd529da09ba866edd3b1c (patch)
treebc4768b8c0a511f650185b2250726f3b6ad48ecb /uemis.c
parent7f4d1a9f32987a92d6418bc6d18e6359536289ff (diff)
downloadsubsurface-304f5e8569fb7786d50bd529da09ba866edd3b1c.tar.gz
windows.c: Fix possible assert when passing NULL to *open()
On Win32 subsurface_fopen() can reach an assert in windows.c: utf8_to_utf16(), if NULL is passed for 'path'. Let's return NULL/-1 for some of the *open() functions in there. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis.c')
0 files changed, 0 insertions, 0 deletions