diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-18 13:48:48 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-18 13:48:48 +0000 |
commit | c646d4e67890bfc9424a9ae80429f831a869b799 (patch) | |
tree | 40ea6e531c3472d837af049104b83f60eeff6f82 /form.c | |
parent | replace \0 to make full string visible to user (CVE-2010-2074). (diff) | |
download | w3m-c646d4e67890bfc9424a9ae80429f831a869b799.tar.gz w3m-c646d4e67890bfc9424a9ae80429f831a869b799.zip |
set line->size
Diffstat (limited to 'form.c')
-rw-r--r-- | form.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |