blob: cde34e0f9dd4a0602985bb0d12d7f8ba5ec71615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
https://bugs.gentoo.org/611142
--- a/qmail-remote.c 2019-10-29 22:46:27.076000000 +0100
+++ b/qmail-remote.c 2019-10-29 22:48:18.868000000 +0100
@@ -556,6 +556,7 @@ void checkutf8message()
if (r == 0) break;
if (r == -1) temp_read();
+ if (ch == '\n' && !stralloc_cats(&firstpart,"\r")) temp_nomem();
if (!stralloc_append(&firstpart,&ch)) temp_nomem();
if (ch == '\r')
|