Skip to content

"too much recursion" crash if a message contains too many emojis #2570

@Astralchroma

Description

@Astralchroma

Describe the bug

If you view a message containing at most 256 emojis the app may crash.

Reproduction

https://matrix.to/#/#crash-cinny:astralchroma.dev

Expected behavior

Don't crash.

Platform and versions

1. NixOS
2. LibreWolf 146.0.1-1
3. Cinny 4.10.2 (https://app.cinny.in)
4. continuwuity 0.5.3 (587abe9)

Additional context

Probably reproducible with normal Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions