NSKeyedUnarchiver SGBigUTF8String Decoding Information Leak

NSKeyedUnarchiver suffers from an information leak when decoding the SGBigUTF8String class using [SGBigUTF8String initWithCoder:]. This class initializes the string using [SGBigUTF8String initWithUTF8DataNullTerminated:] even though there is no guarantee the bytes provided to the decoder are null terminated. It should use [SGBigUTF8String initWithUTF8Data:] instead.


MD5 | 5ebdb23ae44a72166cf9916fedd9770a


Related Posts