Commit 6c6ba121 authored by David Fuhrmann's avatar David Fuhrmann

keychain: Fix crash in release mode

In release mode, a random count value was used, leading to crash

(cherry picked from commit 617fd3ff)
Signed-off-by: default avatarDavid Fuhrmann <>
parent 0182b96d
......@@ -381,6 +381,7 @@ static unsigned int Find(vlc_keystore *p_keystore,
SecKeychainItemRef itemRef = (__bridge SecKeychainItemRef)([listOfResults objectAtIndex:i]);
SecKeychainAttributeInfo attrInfo;
attrInfo.count = 0;
#ifndef NDEBUG
attrInfo.count = 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment