Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Align with legacy_6x. | Matthias Andree | 2019-08-25 | 1 | -19/+1 |
| | | | | | | * Normalize include order. * Backport missed bug fixes. * Remove dead code. | ||||
* | Fix format overflow warnings by printing IMAP tag as unsigned. | Matthias Andree | 2019-08-05 | 1 | -2/+2 |
| | |||||
* | Remove register qualifier. | Matthias Andree | 2019-08-05 | 1 | -2/+2 |
| | | | | Let the compiler sort out register allocation. | ||||
* | Replace most strncpy() by strlcpy() calls. | Matthias Andree | 2019-05-12 | 1 | -4/+2 |
| | |||||
* | Heed ! operator precedence. | Matthias Andree | 2016-01-30 | 1 | -1/+1 |
| | | | | | Was harmless due to BHACCEPT/BHREJECT warnings this time. Found through clang 3.6 compiler warning. | ||||
* | Fix mimedecode last-line omission. | Matthias Andree | 2013-04-23 | 1 | -14/+45 |
| | | | | | | | | | | | | The mimedecode feature failed to ship the last line of the body if it was encoded as quoted-printable and had a MIME soft line break in the very last line. Reported by Lars Hecking in June 2011. Bug introduced on 1998-03-20 when the mimedecode support was added by ESR before release 4.4.1 through code contributed by Henrik Storner, in driver.c. Workaround for older releases: do not use mimedecode feature. | ||||
* | Critical fix: don't embed NUL in unterminated last IMAP line. | Matthias Andree | 2011-08-21 | 1 | -0/+8 |
| | | | | Found by Antoine Levitt. | ||||
* | Revert SO_???TIMEO-based STARTTLS timeout handling. | Matthias Andree | 2011-05-26 | 1 | -6/+0 |
| | | | | | | | | | This reverts commits 47c05b10018f5ec7493e4bd9f521aaa18d96f1e2 and 72ce8bce8dd655b6aefa33d0a74e883dad5202b5, the code isn't portable, for instance, Solaris does not support SO_RCVTIMEO/SO_SNDTIMEO. These socket-level options are known, but Solaris returns EAFNOSUPPORT. Reported by Jonathan Buschmann. | ||||
* | Fix socket timeout handling. | Matthias Andree | 2011-05-22 | 1 | -0/+6 |
| | | | | Fixes STARTTLS hangs reported by Thomas Jarosch. | ||||
* | Document transact.c, RecvSplit. | Matthias Andree | 2011-05-04 | 1 | -60/+76 |
| | |||||
* | Make macro expansions safer for VALID_ADDRESS and RBUF_WRITE. | Matthias Andree | 2011-05-04 | 1 | -2/+2 |
| | |||||
* | Fixup: match prefix caseblind, add some guards, streamline phase handling. | Matthias Andree | 2011-05-04 | 1 | -17/+47 |
| | | | | | | Add a few asserts to catch abuse, and use strlcpy/strlcat rather than snprintf because some implementations of the latter are unsuitable for detecting buffer exhaustion. | ||||
* | Do not search for UNSEEN messages in ranges. | Sunil Shetye | 2011-05-04 | 1 | -0/+92 |
| | | | | | | | | | | Add gen_recv_split() to split long protocol messages when the message prefix matches Order of search commands: IMAP> A010 SEARCH UNSEEN UNDELETED (IMAP4 or higher) IMAP> A011 SEARCH UNSEEN IMAP> A012 FETCH 1:n FLAGS | ||||
* | Call strlen() only once when removing CRLF from a line | Sunil Shetye | 2011-05-03 | 1 | -4/+6 |
| | |||||
* | Fix compiler warnings. | Matthias Andree | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | -vv multidrop: Also report non-Delivered-To: envelope parsing. | Matthias Andree | 2010-10-16 | 1 | -11/+16 |
| | |||||
* | Cast to int more safely, clamping to INT_MAX. | Matthias Andree | 2010-10-15 | 1 | -6/+21 |
| | |||||
* | Cast width argument for %-.*s formatting to int. | Matthias Andree | 2010-10-15 | 1 | -3/+3 |
| | |||||
* | Enhance verbose logging in multidrop header parsing. | Matthias Andree | 2010-10-12 | 1 | -3/+11 |
| | |||||
* | Incorrect headers: Refer user to bad-header option | Matthias Andree | 2010-06-17 | 1 | -1/+1 |
| | | | | BerliOS Bug #17272 by Björn Voigt. | ||||
* | Fix some rare or minor issues found with Clang 2.7 analyzer. | Matthias Andree | 2010-06-03 | 1 | -2/+3 |
| | |||||
* | Fix a few Intel C++ remarks and warnings. | Matthias Andree | 2010-04-27 | 1 | -7/+7 |
| | |||||
* | Further warning fixes. | Matthias Andree | 2010-03-19 | 1 | -2/+2 |
| | |||||
* | Fix MD5 compile on Solaris. | Matthias Andree | 2010-03-19 | 1 | -1/+1 |
| | |||||
* | Further type fixes. | Matthias Andree | 2010-03-18 | 1 | -1/+1 |
| | |||||
* | Fix lots of warnings, most around string literals... | Matthias Andree | 2010-03-18 | 1 | -1/+2 |
| | | | | | | | ...that were converted to char* when they should have been converted to const char *. Use braces for empty if/else statements. | ||||
* | Remove unused assignments/initializations found with llvm-clang. | Matthias Andree | 2010-02-28 | 1 | -3/+3 |
| | |||||
* | Rename bad-header pass to bad-header accept, ... | Matthias Andree | 2010-02-24 | 1 | -1/+1 |
| | | | | to resolve an ambiguity found by Frédéric Marchal. | ||||
* | Feature: bad-header {reject|pass} | Matthias Andree | 2010-02-24 | 1 | -1/+4 |
| | |||||
* | Remove 'message delimiter found while scanning headers' error message. | Matthias Andree | 2009-07-14 | 1 | -10/+5 |
| | | | | | | | RFC-5322 allows for messages without the CRLF+body part, so fetchmail should not complain about legal messages. svn path=/branches/BRANCH_6-3/; revision=5387 | ||||
* | Fix a signedness compiler warning. | Matthias Andree | 2009-05-25 | 1 | -1/+1 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=5328 | ||||
* | Major progress ticker bugfix/overhaul. | Matthias Andree | 2009-05-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Progress tickers had been used inconsistently for a long time, and documentation was outdated, too. Factor out common code to ease maintenance, use the report_flush() function, and add and use a macro (want_progress()) to determine if progress ticker output is desired. This makes for a much more consistent look on screen and in logfiles and should be much easier to fix later on. TODO: test syslog output. svn path=/branches/BRANCH_6-3/; revision=5290 | ||||
* | if ( ... return) else if -> 2 * if | Matthias Andree | 2009-05-04 | 1 | -1/+2 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=5280 | ||||
* | Fix formatting around MIME decoding. | Matthias Andree | 2009-05-04 | 1 | -17/+16 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=5279 | ||||
* | Factor out dots ticker function. | Matthias Andree | 2009-05-04 | 1 | -20/+20 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=5278 | ||||
* | Fix a few compiler warnings around implicit conversion or extra ";". | Matthias Andree | 2009-01-14 | 1 | -3/+3 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=5261 | ||||
* | Support user@example.org (full-address) mappings for multidrop | Matthias Andree | 2006-08-07 | 1 | -5/+25 |
| | | | | | | on the left-hand side of mappings. svn path=/branches/BRANCH_6-3/; revision=4885 | ||||
* | Freeaddrinfo() fix for Uli Zappe's bug. | Matthias Andree | 2006-08-07 | 1 | -2/+3 |
| | | | | | | This might fix Debian Bug#294547 and Bug#377135. svn path=/branches/BRANCH_6-3/; revision=4880 | ||||
* | Detect write errors when stuffing delimiter line between header and body. | Matthias Andree | 2006-07-31 | 1 | -5/+8 |
| | | | | | | | Correct error message when copying message text fails. Fix a comment that falsely asserts we were generating invalid Received: headers. svn path=/branches/BRANCH_6-3/; revision=4869 | ||||
* | For protocols such as IMAP that are not delimited by "." lines, truncate | Matthias Andree | 2006-05-12 | 1 | -0/+17 |
| | | | | | | | | | the input buffer when the message has been completely read, to avoid taking trailing garbage into the message if the terminal CRLF is missing. Fixes Debian Bug#312415. (Patch suggested by Mike Jones, Manchester Univ.). svn path=/branches/BRANCH_6-3/; revision=4824 | ||||
* | a few more type fixes for report/snprintf, patch by Miloslav Trmac. | Matthias Andree | 2006-04-01 | 1 | -1/+1 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=4767 | ||||
* | Add folder information to headers in tracepoll mode. | Matthias Andree | 2006-04-01 | 1 | -0/+4 |
| | | | | | | Reported by Terry Brown. svn path=/branches/BRANCH_6-3/; revision=4764 | ||||
* | Further cleanups to compile with C++ compiler. | Matthias Andree | 2006-03-15 | 1 | -7/+6 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=4744 | ||||
* | merge Mirek's fetchmail-signed.patch | Matthias Andree | 2006-03-14 | 1 | -8/+7 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=4734 | ||||
* | Rename a methods and some variables to steer clear of C++ namespace. | Matthias Andree | 2006-03-13 | 1 | -2/+2 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=4733 | ||||
* | Remove dead variable and add a few comments on the 'invalid header' issue. | Matthias Andree | 2006-03-03 | 1 | -3/+11 |
| | | | | svn path=/branches/BRANCH_6-3/; revision=4714 | ||||
* | Fix segfault in multidrop mode with headerless email. | Matthias Andree | 2005-12-08 | 1 | -21/+10 |
| | | | | | | | | Reported by Daniel Drake, patch by Sunil Shetye. This was actually modified from Sunil's patch to leave the if() {...} braces in the code to avoid ambiguities later. svn path=/branches/BRANCH_6-3/; revision=4530 | ||||
* | Document details about the UWIMAP folder internal data/X-IMAP: thingy. | Matthias Andree | 2005-11-23 | 1 | -0/+23 |
| | | | | svn path=/trunk/; revision=4475 | ||||
* | Global variable cleanup, to fix daemon mode reinitialization problems. | Matthias Andree | 2005-10-21 | 1 | -5/+13 |
| | | | | | | Patch by Sunil Shetye. svn path=/trunk/; revision=4362 | ||||
* | Rename isafile -> is_a_file, isidletimout -> is_idletimeout | Matthias Andree | 2005-09-25 | 1 | -4/+4 |
| | | | | | | to keep clear of ctype.h namespace. svn path=/trunk/; revision=4322 |