Skip to content

Update listing_7.5.cpp - Undefined behaviour#60

Open
Jonny0201 wants to merge 1 commit intoanthonywilliams:mainfrom
Jonny0201:main
Open

Update listing_7.5.cpp - Undefined behaviour#60
Jonny0201 wants to merge 1 commit intoanthonywilliams:mainfrom
Jonny0201:main

Conversation

@Jonny0201
Copy link

If old_head is a null pointer, chain_pending_node will read the member variable next from a null pointer.

If `old_head` is a null pointer, `chain_pending_node` will read the member variable `next` from a null pointer.
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