RocketChat / RocketChat/Rocket.Chat.ReactNative
Specific latex string causes a mobile client crash
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description:
A specific latex string crashes the RC mobile client.
Environment Information:
- Rocket.Chat Server Version: 6.3.6
- Rocket.Chat App Version: 4.40.0
- Device Name: iPhone
- OS Version: 16.6.1
Steps to reproduce:
- On any channel type:
\[\tiny A\, \scriptsize A \, \small A \, \normalsize A \, \large A \, \Large A\, \LARGE A \, \huge A \, \Huge A\]and send the message. - Open up the channel with mobile client
Expected behavior:
You should see:
Actual behavior:
The mobile client crashes immediately when the message should be rendered.
Additional context:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash on the mobile client using the exact LaTeX message from the issue, then trace the mobile message-rendering path for LaTeX content. Done means the message renders on the reported iPhone environment without crashing and displays the expected formatted output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100