element-hq / element-hq/element-android

Being sent a large HTML table full of emojis can make the app stop responding

Open
#6,976 0 comments 0 reactions 0 assignees View on GitHub
A-Emoji A-Markdown A-Performance O-Occasional S-Major T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Receive a DM of a 25x25 HTML table full of emojis (like the one in the attached file)
2. Open app

[table.txt](https://github.com/vector-im/element-android/files/9460341/table.txt)

### Outcome

The app becomes totally unresponsive. I had to open the DM on PC and delete the message just to be able to use the app on mobile again. Spamming emojis does not do this, and sending large HTML tables full of text does not do this. Only sending a large HTML table full of emojis.

### Your phone model

Samsung Galaxy Note 9

### Operating system version

Android 10.0

### Application version and app store

Element version 1.4.34, olm vesion 3.2.12 from Google Play Store

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.