Skip to content

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

Open
marsCatXdu wants to merge 2 commits intoxant:masterfrom
marsCatXdu:master
Open

bugfix: Fix node deletion segment fault issue & add unit test for deletion operation & add the missing hashtable error message#35
marsCatXdu wants to merge 2 commits intoxant:masterfrom
marsCatXdu:master

Conversation

@marsCatXdu
Copy link

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
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.

1 participant