Skip to content

[pull] master from home-assistant:master - #417

Merged
pull[bot] merged 1 commit into
moovy2:masterfrom
home-assistant:master
Sep 10, 2026
Merged

pull[bot] merged 1 commit into
moovy2:masterfrom
home-assistant:master

Conversation

@pull

@pull pull Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

In iegomez/mosquitto-go-auth (v3.0.0), cache/cache.go checkRecord() called s.client.Has(record) followed by s.client.Get(record). When a cache entry expired between Has and Get or during Get, item was nil. Calling item.Value() without a nil check caused a nil pointer dereference panic in ttlcache.(*Item).Value(). Because the plugin is loaded via Cgo, this unhandled Go panic terminated the Mosquitto broker process.

Add a nil check before calling item.Value() to return a cache miss (false, false) if the item is nil.

Closes #4606
Closes #4655

Co-authored-by: Yuris Auzins <zuz666@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Sep 10, 2026
@pull pull Bot added the ⤵️ pull label Sep 10, 2026
@pull
pull Bot merged commit 730fc0b into moovy2:master Sep 10, 2026
4 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant