Presence watcher tracks an item in a slice which could be reallocated

Bug #1747367 reported by John A Meinel on 2018-02-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
High
John A Meinel
2.3
High
John A Meinel

Bug Description

Consider line like presence.go 347, 355, 399. We may be tracking objects on a slice which we may then be appending to, which could get reallocated.

John A Meinel (jameinel) wrote :

Confirmed. I was able to set up a case (which probably *never* happens in practice) that is able to trigger this bug.
Fix is trivial, so let's do it :).

John A Meinel (jameinel) wrote :
John A Meinel (jameinel) on 2018-02-17
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers