[SR-9348] Crash in Set insert #51817
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 9adc0fc9f37fd1d69cfd162853a9b4db
Issue Description:
The following program crashes in the ulitmate insert call if run with libgmalloc.
It crashes in result.hashTable.copyContents(of: hashTable) reading out of bounds of the allocated source object.
I think this is because the copyContents function should really be:
The text was updated successfully, but these errors were encountered: