SMCWrapper
SMCWrapper copied to clipboard
Typo that causes access violation
Was "withSize:dataType" which makes it access memory outside of bounds.
I fixed by changing the it to "withSize:val.dataSize".
[self stringRepresentationForBytes:val.bytes
withSize:val.dataSize
ofType:val.dataType
inBuffer:&cStr[0]];