aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
authorIto Hiroyuki <ZXB01226@nifty.com>2010-07-18 13:48:48 +0000
committerIto Hiroyuki <ZXB01226@nifty.com>2010-07-18 13:48:48 +0000
commitc646d4e67890bfc9424a9ae80429f831a869b799 (patch)
tree40ea6e531c3472d837af049104b83f60eeff6f82 /form.c
parentreplace \0 to make full string visible to user (CVE-2010-2074). (diff)
downloadw3m-c646d4e67890bfc9424a9ae80429f831a869b799.tar.gz
w3m-c646d4e67890bfc9424a9ae80429f831a869b799.zip
set line->size
Diffstat (limited to 'form.c')
-rw-r--r--form.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/form.c b/form.c
index a9e52c0..b7556ca 100644
--- a/form.c
+++ b/form.c
@@ -1,4 +1,4 @@
-/* $Id: form.c,v 1.34 2004/02/05 17:23:07 ukai Exp $ */
+/* $Id: form.c,v 1.35 2010/07/18 13:48:48 htrb Exp $ */
/*
* HTML forms
*/
@@ -403,6 +403,7 @@ form_update_line(Line *line, char **str, int spos, int epos, int width,
line->lineBuf = buf;
line->propBuf = prop;
line->len = len;
+ line->size = len;
return pos;
}