mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-15 11:51:23 +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:
@@ -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