aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-07-28 14:48:03 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-07-28 14:48:03 +0000
commit0f9ce7be313fd666b084c9619625663917c7158b (patch)
tree6bd0c00011a38a0a7bcb571703b21da03d569066 /file.c
parentSupport the button element as defined in HTML 4.01 (diff)
downloadw3m-0f9ce7be313fd666b084c9619625663917c7158b.tar.gz
w3m-0f9ce7be313fd666b084c9619625663917c7158b.zip
Fix segfault of process_button()
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 9e63eb3..2137dd8 100644
--- a/file.c
+++ b/file.c
@@ -3757,7 +3757,7 @@ Str
process_button(struct parsed_tag *tag)
{
Str tmp = NULL;
- char *p, *q, *r, *qq = NULL;
+ char *p, *q, *r, *qq = "";
int qlen, v;
if (cur_form_id < 0) {