Darshit Shah
221f1ba3ef
Update copyright year to 2020
2020-01-10 12:56:08 +01:00
Tim Rühsen
19661f1d9a
* src/ftp-ls.c (ftp_parse_vms_ls): Use snprintf instead of strcpy/strcat
2019-02-20 10:32:47 +01:00
Darshit Shah
8b975e83d3
Update copyright statements
2019-02-10 11:50:17 +01:00
Tim Rühsen
fdb7fe613c
Fix typos detected by codespell (via contrib/spell-checker)
2018-12-28 18:58:15 +01:00
Tim Rühsen
fe6d1247ad
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix integer overflow
...
Fixes OSS-Fuzz issue #7999 .
This is a long standing bug affecting all versions <= 1.19.4.
2018-04-25 09:37:29 +02:00
Tim Rühsen
7ee3ad1c48
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix integer overflow
2018-04-24 11:11:47 +02:00
Tim Rühsen
79c1f333dc
* src/ftp-ls.c (ftp_parse_vms_ls): Fix integer overflow by left shift
2018-04-24 11:05:52 +02:00
Tim Rühsen
d8365b0607
* src/ftp-ls.c (ftp_parse_unix_ls): Fix integer overflow in date parsing
2018-04-24 10:55:29 +02:00
Tim Rühsen
b0f802c46c
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix heap-buffer-overflow
...
Fixes OSS-Fuzz issue #7931 .
This is a long standing bug affecting all versions <= 1.19.4.
2018-04-22 12:45:51 +02:00
Tim Rühsen
96c64a859d
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix heap-buffer-overflow
...
Fixes OSS-Fuzz issue #7930 .
This is a long standing bug affecting all versions <= 1.19.4.
2018-04-22 11:33:35 +02:00
Tim Rühsen
7d3da08537
* src/ftp-ls.c (eat_carets): Fix heap-buffer-overflow
2018-04-21 23:48:01 +02:00
Tim Rühsen
2b61c46183
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memleak
2018-04-21 22:52:01 +02:00
Tim Rühsen
f0d715b264
* src/ftp-ls.c (ftp_parse_vms_ls): Fix heap-buffer-overflow
2018-04-21 22:47:17 +02:00
Tim Rühsen
b3ff8ce3d5
* src/ftp-ls.c (ftp_parse_vms_ls): Fix heap-buffer-overflow
2018-04-21 22:45:03 +02:00
Tim Rühsen
c7014fbaea
* src/ftp-ls.c (ftp_parse_vms_ls): Fix memleak
2018-04-21 22:42:30 +02:00
Tim Rühsen
407cd5f23b
Add new fuzzer for the FTP listing parsers
...
* fuzz/Makefile.am: Add wget_ftpls_fuzzer
* fuzz/wget_ftpls_fuzzer.c: New fuzzer
* fuzz/wget_ftpls_fuzzer.dict: Fuzzer dictionary
* fuzz/wget_ftpls_fuzzer.in/starter: Starting corpus
* src/ftp-ls.c: Parsing function take FILE * as argument,
new function ftp_parse_ls_fp()
* src/ftp.c: Remove static from freefileinfo()
* src/ftp.h: Add ftp_parse_ls_fp() and freefileinfo()
2018-04-21 19:24:25 +02:00
Darshit Shah
183fccdaad
Update Copyright years
2018-01-14 11:24:43 +01:00
Tim Rühsen
9947663af8
* src/ftp-ls.c: Fix -Wformat= warnings
2017-02-03 11:59:33 +01:00
Tim Rühsen
15c1e0eb7b
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memset params
2016-09-09 10:22:58 +02:00
Tim Rühsen
66a9883c8f
* src/ftp-ls.c (ftp_parse_winnt_ls): Initialize struct fileinfo cur
...
Reported-by: Coverity
2016-09-08 16:51:15 +02:00
Giuseppe Scrivano
16f1fb1d1f
maint: update copyright year ranges to include 2015
2015-03-09 16:32:01 +01:00
Tim Ruehsen
4850e9c873
Replaced xfree_null() by xfree() and nullify argument after freeing.
2014-12-01 16:15:37 +01:00
Tim Rühsen
3c51ad7f02
Removed form feeds from sources and NEWS
2014-11-20 16:35:34 +01:00
Tim Rühsen
7b43510fe3
Fixes possible issues with Wget running in a turkish locale
2014-11-20 10:56:21 +01:00
Darshit Shah
8624553a31
Whitespace and formatting changes.(Aesthetic only)
...
This commit makes lots of whitespace only changes. It has been ensured that this
commit does not make any changes to the functioning of the program. The only
changes that have been made are:
* Remove trailing whitespaces
* Convert tabs to spaces
* Fix indentation issues in the code
* Other aesthetic changes to the formatting of comments
2014-05-30 21:12:57 +05:30
Tim Ruehsen
38a7829dcb
Fix compiler warnings
2014-05-12 12:18:50 +02:00
Bykov Aleksey
bba67890f3
Fix FTP list parsing
2013-10-28 00:20:18 +01:00
Tim Ruehsen
099d8ee3da
replaced read_whole_file() by getline()
2013-05-17 20:19:02 +02:00
Nikolay Merinov
022dbcb343
Support new WinNT ftp listing format
2012-09-30 18:18:38 +02:00
Giuseppe Scrivano
3a62674582
Fix some memory leaks.
2011-03-11 15:25:58 +01:00
Giuseppe Scrivano
2f6aa1d741
mass change: update copyright years.
2011-01-01 13:19:37 +01:00
Giuseppe Scrivano
9ae052b1e2
Remove redundant guard.
2010-12-01 13:15:13 +01:00
Giuseppe Scrivano
542c549985
Silent warnings reported by clang.
2010-10-16 03:04:25 +02:00
John Trengrove
e6b486fd93
ftp: display hour:minute information if it is available.
2010-08-01 22:55:53 +02:00
Giuseppe Scrivano
293008f682
Mass update copyright years.
2010-05-08 21:56:15 +02:00
Micah Cowan
4a08094db8
[mq]: cfg-mk
2009-09-21 20:39:44 -07:00
Micah Cowan
b9e9ad65cc
Ran update-copyright.
2009-09-04 00:13:47 -07:00
Micah Cowan
e0b8a67d33
Replace use of localtime with localtime_r.
2009-09-03 20:50:00 -07:00
Micah Cowan
d5e283b1a7
Automated merge.
2009-07-04 15:32:57 -07:00
Micah Cowan
02c211d47c
HTML-escape dirname in href (not perfect, good enough).
2008-11-12 21:44:48 -08:00
Micah Cowan
ca12585a0e
HTML-escape dir name in title, h1.
2008-11-12 21:00:05 -08:00
Micah Cowan
cf93ce7f4b
Applied Alexander Belopolsky's patch for htmlified FTP listings.
2008-11-12 20:47:52 -08:00
Alexander Drozdov
b0bdf95494
Fix underflow, incorrect assertion.
2008-10-31 11:13:10 -07:00
Micah Cowan
b91e2353f5
Don't assume time_t* is compatible with long*.
2008-06-24 11:44:40 -07:00
Micah Cowan
7a54d852bf
Fix ISDIGIT to c_isdigit.
2008-04-25 20:04:10 -07:00
Micah Cowan
714ccdcd84
Steven Schweda's VMS patch.
2008-04-22 14:48:36 -07:00
Micah Cowan
bc8f473272
Updated copyright year.
2008-01-25 05:04:01 -08:00
Micah Cowan
462e643a7e
Merge SFLC licensing changes for OpenSSL with tip.
2007-12-07 17:37:07 -08:00
Micah Cowan
86395b297b
Updated licensing exception for OpenSSL from the SFLC.
2007-11-28 00:05:33 -08:00
Micah Cowan
212396c7e1
Eschew config-post.h.
2007-10-18 20:50:40 -07:00