summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Expand)Author
2007-10-08Simplify the code that strips out \r by using strcspn.Pierre-Yves Ritschard
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-09-05Replace magic numbers in calls to shutdown(2)Moritz Jodeit
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-07-26Remove the space after "Password:" in password prompts where echo isTodd C. Miller
2007-06-20Add missing return value checks for strdup() andd fgetc().Moritz Jodeit
2007-06-16implement a `keep-alive' option that sends bytes over an inactiveMarc Espie
2007-06-13- shorten -c's argument name to avoid ugly line splitJason McIntyre
2007-06-13Enable cookie support. This allows parsing of netscape-like cookie jarsPierre-Yves Ritschard
2007-06-06Remove the .netrc parser when compiling a SMALL binary.Pierre-Yves Ritschard
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-17Support proxies which require a password just like ftp servers accept passwordsDale Rahn
2007-04-07use strtonum, from jason dixonTed Unangst
2007-03-24Use MAXPATHLEN for buffer, which is only used for path constructionMoritz Jodeit
2007-03-22Remove wrong length check, which ignored the '/' characterMoritz Jodeit
2007-03-22Fix buffer overflow when parsing the .netrc file.Moritz Jodeit
2007-03-06Since our ftp client opportuniticly tries EPSV, then falls back to PASV forBob Beck
2007-02-08Remove double semicolons.Ray Lai
2007-02-03Plug memory leak.Ray Lai
2006-11-22Mark signal race.Ray Lai
2006-11-02ftp(1) sends EPSV by default, not PASV;Jason McIntyre
2006-11-02Pass full buffer size to fgets.Ray Lai
2006-11-02Add checks for fgets and properly overwrite newline.Ray Lai
2006-09-25You forgot about -DSMALL and broke all the install mediaTheo de Raadt
2006-09-25Support some additional HTTP redirect codes.Jonathan Gray
2006-07-07Remove extraneous code:Ray Lai
2006-06-23free and sl_free already check against NULL, remove a few unneeded ifs.Steven Mestdagh
2006-06-01Remove two unnecessary strlen() calls. Also, check if asprintfRay Lai
2006-05-25No matter how big the buffer size is, always limit to INT_MAX forRay Lai
2006-05-25Don't recalculate string length, just use return value from vasprintf.Ray Lai
2006-05-25Minor type correction.Ray Lai
2006-05-25Better example URL spacing.Ray Lai
2006-05-19be more explicit about HTTPS;Jason McIntyre
2006-05-19Remove ``sanity check'' that is already done in loop.Ray Lai
2006-05-16Remove shadowing variables and properly use /* FALLTHROUGH */Ray Lai
2006-05-16https URL support; rototilled by a few people including me; originallyTheo de Raadt
2006-04-25two strtol calls that were begging to be converted to strtonumTed Unangst
2006-04-03Ignore http_proxy for file urls; ok millert deraadtUwe Stuehler
2006-03-29fix fetching zero-length files via proxy. while there, also fix progress-meterAlexander von Gernler
2006-02-16delete a few double declarations; ok ottoPeter Valchev
2006-02-01save errno, from Ray Lai in PR 4999.Otto Moerbeek
2006-01-10Prevent close() from clobbering errno. ok otto@ deraadt@Moritz Jodeit
2005-11-13fseeko() and lseek() have different return values. cope with that correctly....Theo de Raadt
2005-10-30restart_point is of type off_t, so use it with fseeko() and cast itNikolay Sturm
2005-10-12Fix mget directory traversal vulnerability. From NetBSD. CAN-2002-1345.Otto Moerbeek
2005-09-21add ability to disable EPSV/EPRT from command-line.Federico G. Schwindt
2005-08-05when i did the cleanup and switched to http 1.1, i forgot to add chunkedFederico G. Schwindt
2005-07-18some cleanup and on non-proxy operation switch to HTTP 1.1 since we'veFederico G. Schwindt
2005-07-11remove help if SMALL is defined. idea from NetBSD. should shrink a fewFederico G. Schwindt
2005-07-06oops, $macro was documented, just not where i expected it; reword andJason McIntyre