Skip to content

bugfix: Fix node deletion segment fault issue & add unit test for deletion operation & add the missing hashtable error message - #35

Merged
xant merged 2 commits into
xant:masterfrom
marsCatXdu:master
Sep 15, 2026
Merged

xant merged 2 commits into
xant:masterfrom
marsCatXdu:master

Conversation

@marsCatXdu

Copy link
Copy Markdown
Contributor

The original code int rc = ht_delete(graph->nodes, node->label, strlen(node->label), (void **)&node, NULL); dereferences the NULL pointer, this results in a segment fault.

@marsCatXdu marsCatXdu changed the title bugfix: Fix node deletion segment fault issue bugfix: Fix node deletion segment fault issue & add unit test for deletion operation Sep 18, 2025
@marsCatXdu marsCatXdu changed the title bugfix: Fix node deletion segment fault issue & add unit test for deletion operation bugfix: Fix node deletion segment fault issue & add unit test for deletion operation & add the missing hashtable error message Sep 18, 2025
@xant
xant merged commit 4abe439 into xant:master Sep 15, 2026
@xant

xant commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Sorry, I completely missed this PR.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants