matcha
matcha copied to clipboard
BUG: Race condition in attachment info building
Describe the bug Attachment processing in daemon builds info slice without synchronization. Concurrent access from multiple clients causes data race.
To reproduce
- Build with -race flag
- Multiple clients request same email attachments
- Race detector reports concurrent slice access
Expected behavior Use mutex or return copy of attachment info
Matcha version master
OS All
Additional context File: daemon/handler.go lines 103-115 Data race under concurrent load
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.