parsed.Index() might return wrong value
Description
Components
Affects versions
Environment
None
Link to Log File, atop/blg, CBCollectInfo, Core dump
None
Release Notes Description
None
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Reporter
Marco Greco
Marco Greco(Deactivated)Is this a Regression?
Yes
Triage
Untriaged
Story Points
1
Priority
Critical
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty Incident
Sentry
Linked Issues
Linked Issues
Zendesk Support
Linked Tickets
Linked Tickets
Created September 4, 2020 at 3:20 PM
Updated June 17, 2021 at 10:29 PM
Resolved October 15, 2020 at 10:35 PM
parsed.Index() caches the wrong element.
Should the same element be requested twice, and caching be on, second time round it may return the wrong value.
Users accessing the same element of an an array twice might receive wrong results, which is unacceptable.