OLMKit: Reset intermediate buffer to zeroes
This commit is contained in:
parent
885b85f516
commit
ded15597c6
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
NSString *keyString = [[NSString alloc] initWithData:key encoding:NSUTF8StringEncoding];
|
NSString *keyString = [[NSString alloc] initWithData:key encoding:NSUTF8StringEncoding];
|
||||||
|
[key resetBytesInRange:NSMakeRange(0, key.length)];
|
||||||
return keyString;
|
return keyString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue