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

Add asserts in DEBUG builds for GOOD_EASY_HANDLE and GOOD_MULTI_HANDL… #10812

Closed
wants to merge 1 commit into from

Conversation

icing
Copy link
Contributor

@icing icing commented Mar 22, 2023

…E checks

  • allow NULL pointers to "just" return an error as before
  • fail hard on nun-NULL pointers that no longer show the MAGICs

…E checks

- allow NULL pointers to "just" return an error as before
- fail hard on nun-NULL pointers that no longer show the MAFICs
@bagder bagder closed this in 5d1ecbc Mar 22, 2023
@bagder
Copy link
Member

bagder commented Mar 22, 2023

Thanks!

bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
For GOOD_EASY_HANDLE and GOOD_MULTI_HANDLE checks

- allow NULL pointers to "just" return an error as before
- fail hard on nun-NULL pointers that no longer show the MAGICs

Closes curl#10812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants