SecItemCopyMatching() crashes with kSecAttrApplicationTag query
| Originator: | snown27 | ||
| Number: | rdar://10221712 | Date Originated: | 10/02/11 |
| Status: | Open | Resolved: | |
| Product: | Mac OS X | Product Version: | 10.7.1 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: Using `kSecAttrApplicationTag` in the query dictionary of SecItemCopyMatching() results in an "unrecognized selector" error. Steps to Reproduce: 1. Open attached project 2. Make sure TODO: line in WRACrypto.m is not commented out 3. Run project 4. View log output for "-[NSConcreteData _fastCharacterContents]: unrecognized selector sent to instance" Expected Results: List of SecKey attributes Actual Results: "-[NSConcreteData _fastCharacterContents]: unrecognized selector sent to instance ..." Regression: I have only tested this on a 10.7 system, as I am using APIs that require it. But this issue has occurred on every 10.7 system I've tested it on. Notes: I am using XCode Version 4.2, Build 4D5163b
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
See Karoly.Lorentey's report in rdar://10618031 --- he's worked out some more of the parameters of this bug.