summaryrefslogtreecommitdiff
path: root/mail/dbmail-devel/files/patch-2.0.4_bug216_header.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-13 20:25:54 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-13 20:25:54 +0000
commitf12d116f994751f5bc64a3239c5c75658822bd2f (patch)
tree2d473662ff8ba23514e4d6a2786b1abee760d778 /mail/dbmail-devel/files/patch-2.0.4_bug216_header.c
parentDocument unzip -- permission race vulnerability. [1] (diff)
- Update to 2.0.7
- Add patch for bug 266 - Reset maintainership (3 months of maintainer timeouts) - Assign maintainership to a volunteer PR: ports/85455, ports/85763 Submitted by: Mark Starovoytov <mark_sf@kikg.ifmo.ru> Approved by: maintainer timeout (seanc; 14 days)
Diffstat (limited to 'mail/dbmail-devel/files/patch-2.0.4_bug216_header.c')
-rw-r--r--mail/dbmail-devel/files/patch-2.0.4_bug216_header.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/mail/dbmail-devel/files/patch-2.0.4_bug216_header.c b/mail/dbmail-devel/files/patch-2.0.4_bug216_header.c
deleted file mode 100644
index d9610a5cd609..000000000000
--- a/mail/dbmail-devel/files/patch-2.0.4_bug216_header.c
+++ /dev/null
@@ -1,37 +0,0 @@
-Index: header.c
-===================================================================
---- header.c (revision 1796)
-+++ header.c (revision 1813)
-@@ -176,15 +176,17 @@
- if (message_content[line_content_size] == '\n') {
- tmp_line_size = line_content_size + 1;
- tmp_line_rfcsize = tmp_line_size + 1;
-- } else {
-- if (message_content[line_content_size] == '\r' &&
-- message_content[line_content_size + 1] == '\n') {
-+ } else if (message_content[line_content_size] == '\r') {
-+ if (message_content[line_content_size + 1] == '\n') {
-+ /* This is the right behaviour */
- tmp_line_size = line_content_size + 2;
- tmp_line_rfcsize = tmp_line_size;
- } else {
-- trace(TRACE_ERROR, "%s,%s: error reading header line",
-- __FILE__, __func__);
-- return -1;
-+ /* This is broken behaviour, but it's better
-+ * than not handling it at all.
-+ */
-+ tmp_line_size = line_content_size + 1;
-+ tmp_line_rfcsize = tmp_line_size + 1;
- }
- }
- }
-@@ -197,7 +199,6 @@
- __FILE__, __func__);
- return 0;
- }
-- else
-- return 1;
-+ return 1;
-
- }