JSONiq items RCs are decremented twice upon removeReference() call if counter >1

Bug #1032166 reported by Ghislain Fourny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Ghislain Fourny

Bug Description

A return clause is missing in src/store/naive/item.cpp, which causes JSON items with a counter of at least 2 to be RC-decremented twice upon removeReference() call.

Related branches

Changed in zorba:
assignee: Chris Hillery (ceejatec) → Ghislain Fourny (gislenius)
Revision history for this message
Ghislain Fourny (gislenius) wrote :

Downgrading to high importance - the same bug occurs in addReference(), so that on the whole it only RCs JSON items with a factor of 2.

Changed in zorba:
importance: Critical → High
Chris Hillery (ceejatec)
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
milestone: 2.7 → 2.6
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.