summaryrefslogtreecommitdiff
path: root/noncore/net/mail
authoralwin <alwin>2003-12-23 01:31:28 (UTC)
committer alwin <alwin>2003-12-23 01:31:28 (UTC)
commitbe95b109fdd37e86b179bf63b15a647acc58a445 (patch) (side-by-side diff)
treea652efb6dfabe9f6bbaa33cc2f4434b066d382b8 /noncore/net/mail
parentdd8b635cf7165524799743b0516ea51bef3210c8 (diff)
downloadopie-be95b109fdd37e86b179bf63b15a647acc58a445.zip
opie-be95b109fdd37e86b179bf63b15a647acc58a445.tar.gz
opie-be95b109fdd37e86b179bf63b15a647acc58a445.tar.bz2
fix for an unsigned bug while sending data via mail stream
Diffstat (limited to 'noncore/net/mail') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libetpanstuff/libetpan-0.32-mailstream_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/net/mail/libetpanstuff/libetpan-0.32-mailstream_fix.patch b/noncore/net/mail/libetpanstuff/libetpan-0.32-mailstream_fix.patch
new file mode 100644
index 0000000..e9fa44b
--- a/dev/null
+++ b/noncore/net/mail/libetpanstuff/libetpan-0.32-mailstream_fix.patch
@@ -0,0 +1,12 @@
+diff -ru libetpan-0.32/tools/mailstream_helper.c libetpan-0.32_fixed/tools/mailstream_helper.c
+--- libetpan-0.32/tools/mailstream_helper.c 2003-12-15 04:33:58.000000000 +0100
++++ libetpan-0.32_fixed/tools/mailstream_helper.c 2003-12-23 02:28:20.000000000 +0100
+@@ -352,7 +352,7 @@
+ current = message;
+ remaining = size;
+
+- while (remaining > 0) {
++ while (remaining > 0 && remaining<=size) {
+ ssize_t length;
+
+ length = send_data_line(s, current, remaining);