Tcl Source Code

View Ticket
Login
Ticket UUID: 46a24106507476a2ef2b791958bea01d4175f125
Title: Array search does not terminate on element unset
Type: Bug Created on: 2016-12-24 23:32:31
Submitter: andy Assigned to: dgp
Subsystem: 07. Variables Severity: Critical
Priority: 5 Medium Last modified: 2018-04-22 13:23:35
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2018-04-22 13:23:35
Version: 33fc7a335851bb24f052752779fe41f56d0ca471
Description:

Test var-13.2 fails and var-13.3 SIGSEGVs in [33fc7a3358], branch array-search-unset. The problem was introduced by [af5c35971a].

INST_UNSET_ARRAY does not check if an array has an active search, and it will happily delete array elements without triggering DeleteSearches().

User Comments:
andy (claiming to be Andy Goth) added on 2016-12-25 00:02:46:

Proposed fix committed to branch array-search-unset, passes all test cases. Please review and integrate to trunk if good.


dgp added on 2018-04-22 13:23:35:
Fix merged to 8.6