matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Race condition in attachment info building

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug Attachment processing in daemon builds info slice without synchronization. Concurrent access from multiple clients causes data race.

To reproduce

  1. Build with -race flag
  2. Multiple clients request same email attachments
  3. 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

andrinoff avatar Apr 21 '26 14:04 andrinoff

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.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot