iOS: VCF import causes Messages load failure

Originator:asharsahmed0
Number:rdar://29829661 Date Originated:30-Dec-2016
Status:Open Resolved:
Product:iOS + SDK Product Version:10.2
Classification:Serious Bug Reproducible:Always
 
Summary:
Sending of this (https://www.vincedes3.com/vincedes3.vcf) VCF file to another individual via iMessage in Messages.app causes the recipient's device to freeze and quit Messages.app as soon as the file is opened. The file appears to be an RTF file contained within VCF format and contains an amount of garbage data, presumably for overflow. examination of logs shows that string overflow occurs in the process of this bug. The ultimate result of this bug is the inability to use Messages.app until the device is restored within iTunes.

Steps to Reproduce:
1. Send above VCF file to target device
2. On target device, open Messages.app
3. Open selected VCF file, and Messages.app will proceed to crash
4. Messages.app will not load

Expected Results:
The opening of the VCF card should entail the device to verify contents and proceed to show that the VCF card is damaged (as it is not a valid VCF card). 

It should not crash Messages.app and prevent load.

Actual Results:
The opening of the VCF card causes Messages.app to crash and remain unusable until the device is restored.

Version:
10.2

Notes:


Configuration:
This issue does not occur on macOS or watchOS.

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!