-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[BUG] Certain uploads cause RC to crash #14944
Copy link
Copy link
Closed
Description
Description:
We noticed our RocketChat instances were crashing. We managed to trace the issue to a user that was uploading an SVG file.
Steps to reproduce:
- wget this file (file omitted)
- Rename it to something.svg
- Upload it to RocketChat
Expected behavior:
RocketChat shouldn't crash when uploading an SVG file.
Actual behavior:
RocketChat crashes when the file is uploaded
Server Setup Information:
- Version of Rocket.Chat Server: 1.2.1
- Operating System: Debian (CoreOS host)
- Deployment Method: Docker
- Number of Running Instances: 1
- DB Replicaset Oplog: On
- NodeJS Version: 8
- MongoDB Version: 4.0.10
Relevant logs:
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:345:21
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels