Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LinkedList and ListNode crashes with invalid data #106

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

Xrayez
Copy link
Contributor

@Xrayez Xrayez commented Jul 19, 2021

Removed CRASH_COND, should use ERR_FAIL_COND macros instead.
insert_before/after(null, value) no longer pushes front/back an element.

Part of #105.

Removed `CRASH_COND`, should use `ERR_FAIL_COND` macros instead.
`insert_before/after(null, value)` no longer pushes front/back an element.
@Xrayez Xrayez added bug Something isn't working crash Engine crashes topic:core labels Jul 19, 2021
@Xrayez Xrayez added this to the 1.1-gd3 milestone Jul 19, 2021
@Xrayez Xrayez merged commit bf9c2a4 into gd3 Jul 19, 2021
@Xrayez Xrayez deleted the fix-linked-list-crashes branch July 19, 2021 19:04
Xrayez added a commit that referenced this pull request Jul 21, 2021
This is a regression from #106, previous code assumsed that `ListData` is not always initialized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Engine crashes topic:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant