You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the latter will crash if the session is a group session, whereas the former worked correctly in that case.
Proposed Solution
Fix things so we don't crash if someone groupcasts a command that cares about the fabric index. In practice this probably means moving mFabricIndex up to Session, having it initialized to 0 for UnauthenticatedSession, initializing it correctly for group and secure sessions, and implementing GetFabricIndex on Session. Or is there a reason that can't happen?
Fix things so we don't crash if someone groupcasts a command that cares about the fabric index. In practice this probably means moving mFabricIndex up to Session, having it initialized to 0 for UnauthenticatedSession, initializing it correctly for group and secure sessions, and implementing GetFabricIndex on Session. Or is there a reason that can't happen?
I think this makes sense. Fabric index 0 is our special reserved value for no-fabric, so it's exactly for this type of thing.
Problem
#13330 replaced code like this:
with code like this:
at a large number of callsites.
Unfortunately, the latter will crash if the session is a group session, whereas the former worked correctly in that case.
Proposed Solution
Fix things so we don't crash if someone groupcasts a command that cares about the fabric index. In practice this probably means moving mFabricIndex up to
Session
, having it initialized to 0 forUnauthenticatedSession
, initializing it correctly for group and secure sessions, and implementingGetFabricIndex
onSession
. Or is there a reason that can't happen?@kghost @andreilitvin @msandstedt
The text was updated successfully, but these errors were encountered: