53 lines
1.5 KiB
53 lines
1.5 KiB
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
18 years ago
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
17 years ago
|
#
|
||
|
# Filename: package/.../bincimap/uninitialized-fix.patch
|
||
15 years ago
|
# Copyright (C) 2010 The OpenSDE Project
|
||
18 years ago
|
# Copyright (C) 2006 The T2 SDE Project
|
||
17 years ago
|
#
|
||
18 years ago
|
# More information can be found in the files COPYING and README.
|
||
17 years ago
|
#
|
||
18 years ago
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
17 years ago
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
18 years ago
|
|
||
|
--- bincimap-1.3.4/src/mime-parsefull.cc.orig 2006-01-04 22:50:25.000000000 +0100
|
||
|
+++ bincimap-1.3.4/src/mime-parsefull.cc 2006-01-04 22:53:31.000000000 +0100
|
||
|
@@ -343,14 +343,14 @@
|
||
|
|
||
|
// Read two more characters. This may be CRLF, it may be "--" and
|
||
|
// it may be any other two characters.
|
||
|
- char a;
|
||
|
+ char a = 0;
|
||
|
if (!mimeSource->getChar(&a))
|
||
|
*eof = true;
|
||
|
|
||
|
if (a == '\n')
|
||
|
++*nlines;
|
||
|
|
||
|
- char b;
|
||
|
+ char b = 0;
|
||
|
if (!mimeSource->getChar(&b))
|
||
|
*eof = true;
|
||
|
|
||
|
@@ -560,13 +560,13 @@
|
||
|
delete [] boundaryqueue;
|
||
|
|
||
|
if (toboundary != "") {
|
||
|
- char a;
|
||
|
+ char a = 0;
|
||
|
if (!mimeSource->getChar(&a))
|
||
|
*eof = true;
|
||
|
|
||
|
if (a == '\n')
|
||
|
++*nlines;
|
||
|
- char b;
|
||
|
+ char b = 0;
|
||
|
if (!mimeSource->getChar(&b))
|
||
|
*eof = true;
|
||
|
|