matcha
matcha copied to clipboard
BUG: Nil pointer dereference on msg.Event in sendRSVP
Describe the bug
In sendRSVP() (main.go:2284), msg.Event.Summary, msg.Event.Start, and msg.Event.Location are accessed without checking that msg.Event is not nil. If the Event struct is nil, this causes a panic.
To reproduce
- Trigger an RSVP action on a malformed calendar invite where the Event field is nil
- Observe panic
Expected behavior
Function should check msg.Event != nil before accessing its fields and return an error if nil.
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.