[libbluray-devel] Fix segfault in win32 file_get_config_system()

anonymous git at videolan.org
Wed Nov 27 11:45:26 CET 2013


libbluray | branch: master | anonymous <anonymous at anonymous.org> | Wed Nov 27 12:45:11 2013 +0200| [348aeb06a118c290966c17bb27b82746e657a4aa] | committer: anonymous

Fix segfault in win32 file_get_config_system()

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=348aeb06a118c290966c17bb27b82746e657a4aa
---

 src/file/dirs_win32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/file/dirs_win32.c b/src/file/dirs_win32.c
index 780aba0..e800611 100644
--- a/src/file/dirs_win32.c
+++ b/src/file/dirs_win32.c
@@ -82,7 +82,7 @@ const char *file_get_config_system(const char *dir)
     if (!dir) {
         // first call
 
-        if (*appdir)
+        if (appdir)
             return appdir;
 
         /* Get the "Application Data" folder for all users */



More information about the libbluray-devel mailing list