Monotone-Parent: 6e892bd0470a59c4edc792bd0d24b13e56e6a5e0
Monotone-Revision: f5ba6db440f5a8ba817af65dea12b4a616fdfe71 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-09T16:36:51maint-2.0.2
parent
1bf0fb1244
commit
be34aeee0e
|
@ -1,3 +1,8 @@
|
|||
2012-01-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* NSString+NGCards.m (-vCardSubvalues): fixed allocation of
|
||||
parsing buffer to avoid a buffer overflow.
|
||||
|
||||
2011-11-21 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* iCalTimeZone.m (+knownTimeZoneNames): ignore files that don't
|
||||
|
|
|
@ -337,7 +337,7 @@
|
|||
valuesKey = @"";
|
||||
|
||||
max = [self length];
|
||||
stringBuffer = NSZoneMalloc (NULL, sizeof (unichar) * max + 1);
|
||||
stringBuffer = NSZoneMalloc (NULL, sizeof (unichar) * (max + 1));
|
||||
[self getCharacters: stringBuffer];
|
||||
stringBuffer[max] = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue