Commit 617fd3ff 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
parent 44800f3f
......@@ -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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment