File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
CoreFoundation/URL.subproj Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ CF_EXPORT CFStringRef _CFStringCreateByAddingPercentEncodingWithAllowedCharacter
281
281
else {
282
282
// not big enough? malloc it.
283
283
size_t mallocSize ;
284
- if ( ! _CFMultiplyBufferSizeWithoutOverflow (maxBufferSize , 4 , & mallocSize ) ) {
284
+ if ( _CFMultiplyBufferSizeWithoutOverflow (maxBufferSize , 4 , & mallocSize ) ) {
285
285
inBuf = (UInt8 * )malloc (mallocSize );
286
286
}
287
287
}
@@ -456,7 +456,7 @@ CF_EXPORT CFStringRef _CFStringCreateByRemovingPercentEncoding(CFAllocatorRef al
456
456
else {
457
457
// not big enough? malloc it.
458
458
size_t mallocSize ;
459
- if ( ! _CFMultiplyBufferSizeWithoutOverflow (maxBufferSize , 2 , & mallocSize ) ) {
459
+ if ( _CFMultiplyBufferSizeWithoutOverflow (maxBufferSize , 2 , & mallocSize ) ) {
460
460
encodedBuf = (UInt8 * )malloc (mallocSize );
461
461
}
462
462
}
You can’t perform that action at this time.
0 commit comments