diff options
| author | 2014-01-07 16:41:19 +0200 | |
|---|---|---|
| committer | 2014-01-08 05:52:10 +0800 | |
| commit | 3c794d0275235bc631435285aa6da20c639ffeaa (patch) | |
| tree | 6f2857956fc804454ed75fe366ec01e3870027c3 /qt-ui/groupedlineedit.cpp | |
| parent | 409c2e9bcfd8a3f328e21b511919cc70629cc1ab (diff) | |
| download | subsurface-3c794d0275235bc631435285aa6da20c639ffeaa.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 'qt-ui/groupedlineedit.cpp')
0 files changed, 0 insertions, 0 deletions