mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-19 21:35:58 +00:00
Monotone-Parent: d9f13a2035f812bf584e6ed63e858a9373cd11c8
Monotone-Revision: 38edb6b526df653889b897cf6ff9643dfd3ffad2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-10T17:35:01 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2012-01-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreMailFolder.m (_parseCOPYUID): the uniString
|
||||
buffer was allocated one byte too short.
|
||||
|
||||
2012-01-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m (-getValue:forTag:inMemCtx:):
|
||||
|
||||
@@ -848,7 +848,7 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
|
||||
/* sample: 1 OK [COPYUID 1311899334 1:3 11:13] Completed */
|
||||
|
||||
max = [line length];
|
||||
uniString = NSZoneMalloc (NULL, max * sizeof (unichar) + 1);
|
||||
uniString = NSZoneMalloc (NULL, sizeof (unichar) * (max + 1));
|
||||
[line getCharacters: uniString];
|
||||
uniString[max] = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user