diff options
author | James Meyer <james.meyer@operamail.com> | 2010-03-27 16:29:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-03-27 16:29:11 (GMT) |
commit | 8f02b9491ffeca5c22133021c0d78effba826b1f (patch) | |
tree | a70d1c06a45b7fb0e3714c623b6dd4662e6d8b74 /abs/extra-testing/alpine/CVE-2008-5514.patch | |
parent | 16738cd0412042476110aa531d42c2e3509b9cbe (diff) | |
download | linhes_pkgbuild-8f02b9491ffeca5c22133021c0d78effba826b1f.zip linhes_pkgbuild-8f02b9491ffeca5c22133021c0d78effba826b1f.tar.gz linhes_pkgbuild-8f02b9491ffeca5c22133021c0d78effba826b1f.tar.bz2 |
alpine: initial import
apline is much better then mutt :)
ref #464
Diffstat (limited to 'abs/extra-testing/alpine/CVE-2008-5514.patch')
-rw-r--r-- | abs/extra-testing/alpine/CVE-2008-5514.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/extra-testing/alpine/CVE-2008-5514.patch b/abs/extra-testing/alpine/CVE-2008-5514.patch new file mode 100644 index 0000000..594bea0 --- /dev/null +++ b/abs/extra-testing/alpine/CVE-2008-5514.patch @@ -0,0 +1,20 @@ +--- alpine-2.00/imap/src/c-client/rfc822.c ++++ alpine-2.00/imap/src/c-client/rfc822.c +@@ -1351,6 +1351,7 @@ + + static long rfc822_output_char (RFC822BUFFER *buf,int c) + { ++ if ((buf->cur == buf->end) && !rfc822_output_flush (buf)) return NIL; + *buf->cur++ = c; /* add character, soutr buffer if full */ + return (buf->cur == buf->end) ? rfc822_output_flush (buf) : LONGT; + } +@@ -1374,7 +1375,8 @@ + len -= i; + } + /* soutr buffer now if full */ +- if (len && !rfc822_output_flush (buf)) return NIL; ++ if ((len || (buf->cur == buf->end)) && !rfc822_output_flush (buf)) ++ return NIL; + } + return LONGT; + } |