XMPPFramework icon indicating copy to clipboard operation
XMPPFramework copied to clipboard

Crash in KissXML-->DDXMLNode--> "description" method

Open AQRMKB opened this issue 4 years ago • 1 comments

While I investigated the issue nil case is not handled in method ** (NSString *)XMLStringWithOptions:(NSUInteger)options ** .

xmlString = [NSMutableString stringWithUTF8String:(const char *)bufferPtr->content];
// Below line is main culprit, when xmlString is **nil** crash occurs. please handle nil case here
CFStringTrimWhitespace((__bridge CFMutableStringRef)xmlString);

AQRMKB avatar Jul 29 '20 12:07 AQRMKB

Did you solve this issue?

yasheedv avatar Apr 20 '22 11:04 yasheedv