Submitted By: Your Name (your at email dot address) Date: 2010-08-29 Initial Package Version: 2.0.4 Origin: http://github.com/screwgoth/prozilla-dev-2.5/commit/5c5600e816124f84ddedaa09306377362504642c Upstream Status: dead Description: Make sure that home_dir is never empty. If all else fails, pwd is home_dir. diff -Naur prozilla-2.0.4.orig/libprozilla/src/main.c prozilla-2.0.4/libprozilla/src/main.c --- prozilla-2.0.4.orig/libprozilla/src/main.c 2010-08-29 12:49:09.000000000 +0000 +++ prozilla-2.0.4/libprozilla/src/main.c 2010-08-29 15:46:41.000000000 +0000 @@ -101,6 +101,9 @@ sprintf(netrc_file, "%s/%s", libprozrtinfo.home_dir, ".netrc"); libprozrtinfo.netrc_list = parse_netrc(netrc_file); + } else { + /* Make sure home dir is never NULL */ + libprozrtinfo.home_dir = kstrdup("."); } libprozrtinfo.dl_dir = kstrdup(".");