]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Limit the maximum amount of memory allocated by fd_read_hunk and its
[wget] / src / ChangeLog
index 20180453ba3c55a018bd79a50c0eb6cf395b52c9..67059694594e2b865ce00de6ad00362751c76f21 100644 (file)
@@ -1,3 +1,25 @@
+2005-03-17  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ftp-basic.c (ftp_login): Don't free the string if ftp_response
+       returned an error status because the line didn't get allocated in
+       the first place.
+
+2005-03-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (read_http_response_head): Limit the response size to 64k
+       bytes.
+
+       * retr.c (fd_read_hunk): Accept a MAXSIZE argument that limits the
+       number of bytes the function is allowed to allocate.
+       (fd_read_line): Limit the line to 4096 bytes.
+
+2005-03-12  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.h: Include options.h after wgint has been defined.
+
+       * options.h (struct options): Declare options processed with
+       cmd_bytes as wgint, not long.
+
 2005-03-18  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * init.c (cmd_file): Use concat_strings.