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

Bug #1747367 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
John A Meinel
2.3
Fix Released
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.

Revision history for this message
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 :).

Revision history for this message
John A Meinel (jameinel) wrote :
Revision history for this message
John A Meinel (jameinel) wrote :
John A Meinel (jameinel)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.