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

Don't call a function which hasn't been defined #510

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

ndptech
Copy link
Contributor

@ndptech ndptech commented Jul 15, 2021

This code path was causing segmentation faults by trying to call ev->vmt->winsock_tcp_wouldblock even though that was NULL

@wcawijngaards wcawijngaards merged commit 410f202 into NLnetLabs:master Jul 16, 2021
@wcawijngaards
Copy link
Member

Merged, looks good. I also added more in depth fixes in the commit that puts ifdefs around windows api event calls, so they happen when on windows.

jedisct1 added a commit to jedisct1/unbound that referenced this pull request Jul 27, 2021
* nlnet/master: (175 commits)
  - Fix for older parsers for function call in serve expired get cached.
  - Another fix from lint for ignored return value.
  - Fix from lint for ignored return value.
  - Insert header into testcode/readzone.c, it was missing.
  - Introduce 'http-user-agent:' and 'hide-http-user-agent:' options.
  Revert "- With hide-version unbound also omits the version from http headers."
  - With hide-version unbound also omits the version from http headers.
  - review fix to remove duplicate error printout.
  - Fix unbound-control local_data and local_datas to print detailed   syntax errors.
  - Fix spelling in localzone.h comment.
  - Fix spelling in doc/unbound.doxygen comment.
  - Fix for NLnetLabs#510: in depth, use ifdefs for windows api event calls.
  Don't call a function which hasn't been defined
  - iana portlist update.
  - Fix clang-analysis warnings for testcode/readzone.c.
  - Fix compiler warnings for NLnetLabs#491.
  - Fix Wunused-result compile warnings.
  changelog PR NLnetLabs#491
  rename var to remove shadow variable
  Apply suggestions from code review
  ...
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.

None yet

2 participants