aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-27 17:00:18 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-27 17:00:18 +0000
commit5f6668127e95df26eb3da6a16c5515eb455c020e (patch)
tree91664f02abb44f251d3133c7c4179fdfe877a379
parent[w3m-dev 02571] (diff)
downloadw3m-5f6668127e95df26eb3da6a16c5515eb455c020e.tar.gz
w3m-5f6668127e95df26eb3da6a16c5515eb455c020e.zip
[w3m-dev 02576]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog6
-rw-r--r--url.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bbb9d1..dc96602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02576]
+ * url.c (openURL): remove pu->file = p; which cause segfault
+ because p is not initialized
+
2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02571] MAXPATHLEN
diff --git a/url.c b/url.c
index a608522..25a1260 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.10 2001/11/24 02:01:26 ukai Exp $ */
+/* $Id: url.c,v 1.11 2001/11/27 17:00:18 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1366,7 +1366,6 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
option->referer),
(void (*)())pclose);
if (uf.stream == NULL) {
- pu->file = p;
goto ordinary_local_file;
}
uf.is_cgi = TRUE;