aboutsummaryrefslogtreecommitdiffstats
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
parentreplace \0 to make full string visible to user (CVE-2010-2074). (diff)
downloadw3m-c646d4e67890bfc9424a9ae80429f831a869b799.tar.gz
w3m-c646d4e67890bfc9424a9ae80429f831a869b799.zip
set line->size
-rw-r--r--ChangeLog8
-rw-r--r--form.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 423d739..7391a2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
+2010-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 04286] Re: break textform when buffer back
+ * form.c (form_update_line): set line->size
+
2010-07-18 d+w3m@vdr.jp
+
* [w3m-dev 04319] Re: w3m's bugs from bugs.debian.org
* doc/w3m.1: fix typo.
* doc-jp/w3m.1: update
@@ -8945,4 +8951,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.1006 2010/07/18 13:43:23 htrb Exp $
+$Id: ChangeLog,v 1.1007 2010/07/18 13:48:48 htrb Exp $
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;
}