Differences From Artifact [b3b5f8f9a0]:
- File src/OFMutableString.m — part of check-in [5a75edd60e] at 2010-11-13 21:26:48 on branch trunk — Add -[OFMutableString prependString:]. (user: js, size: 12271) [annotate] [blame] [check-ins using]
To Artifact [bb152a87a3]:
- File
src/OFMutableString.m
— part of check-in
[e6c5c90751]
at
2010-11-17 16:06:19
on branch trunk
— Remove strlen in -[appendCStringWithoutUTF8Checking:length:].
When passing a string without \0-termination, strlen would access the
passed string out of bounds. (user: js, size: 12194) [annotate] [blame] [check-ins using]
︙ | |||
200 201 202 203 204 205 206 | 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | - - - | memcpy(string + length, str, strlength + 1); length += strlength; } - (void)appendCStringWithoutUTF8Checking: (const char*)str length: (size_t)len { |
︙ |