[BUG] Contact file slows down Contacts-App

asked 2017-01-19 17:09:32 +0300

Falk Alexander gravatar image

updated 2017-01-20 12:18:50 +0300

The days became known, opening a manipulated contact file on iOS can be lead to a crash. I tested the ".vcf" file, imported it in the SailfishOS Contacts App, and the App slows down but don't crash or anything. The App asks regulary if it should be closed or stay waiting to response again, sometimes a black screen appears, but the app recovers a few seconds after this, but it does not stop to be extreme slow. Normal users shouldn't be able to delete the manipulated contact which is causing this trouble, because the GUI is not responding fast enough to give the user feedback, normal users will probalby be frustrated and don't wait minutes, hold the finger minutes at the entry, and wait for the menu. Short: they are not able to delete the contact, and the app will stay forever slow.

Solution 1 (maybe): Add a if clause in the code, to prevent to load a contact from the database which has a extreme long name like this one, or shorten the string to maybe 100 characters.

Solution 2 (maybe): Make the rendering, database whatever this causing code more efficient.

Download File: https://cloud.terminal.run/index.php/s/SXmqIY0QDTdYkMv

Source: http://www.computerworld.com/article/3159178/apple-ios/want-to-crash-anyones-iphone-send-this-text.html

Can anyone confirm this or has further information?

Grüße / Greetings

edit retag flag offensive close delete

Comments

Reduce slowness effect of loading contact with 66664 symbols in name and 44815 symbols in first name? okay, no problem.

coderus ( 2017-01-20 09:43:25 +0300 )edit
1

Or simply giving an error + don't add this contact to the database. Otherwise a normal user without technical knowledge will maybe wondering why the Contacts App on his phone is stop responding and will never work smooth again.

Falk Alexander ( 2017-01-20 11:53:11 +0300 )edit
1

I have tried it on my second device. The contact app wants to close and it is very difficult to delete this contact. This can be very disturbing for non-technical SFOS users. I hope Jolla can fix the problem.

cvp ( 2017-01-20 12:41:16 +0300 )edit