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

fix: free() call more than once with the same pointer #523

Merged
merged 1 commit into from
Aug 12, 2021
Merged

fix: free() call more than once with the same pointer #523

merged 1 commit into from
Aug 12, 2021

Conversation

Shchelk
Copy link
Contributor

@Shchelk Shchelk commented Aug 11, 2021

If in the function 'parse_create_msg' failed calls 'reply_info_alloc_rrset_keys' or 'parse_copy_decompress' than in the same place will be called reply_info_parsedelete(*rep, alloc). After that 'reply_info_parsedelete(*rep, alloc)' will be called second time at "reply_info_parse()"

@wcawijngaards wcawijngaards merged commit 79df099 into NLnetLabs:master Aug 12, 2021
wcawijngaards added a commit that referenced this pull request Aug 12, 2021
- Merge #523: fix: free() call more than once with the same pointer.
@wcawijngaards
Copy link
Member

Thank you for the bug fix. That should remove double free issues.

jedisct1 added a commit to jedisct1/unbound that referenced this pull request Aug 12, 2021
* nlnet/master: (37 commits)
  - Fix to print error from unbound-anchor for writing to the key   file, also when not verbose.
  - For NLnetLabs#519: fix comments for doxygen.
  - For NLnetLabs#519: yacc and lex. And fix python bindings, and test program   unbound-dnstap-socket.
  Changelog note for NLnetLabs#519 and example.conf edit - Merge NLnetLabs#519: Support for selective enabling tcp-upstream for   stub/forward zones. - For NLnetLabs#519: note stub-tcp-upstream and forward-tcp-upstream in   the example configuration file.
  Changelog note for NLnetLabs#523 - Merge NLnetLabs#523: fix: free() call more than once with the same pointer.
  Changelog note for NLnetLabs#521 - Merge NLnetLabs#521: Update mini_event.c.
  - Add test tool readzone to .gitignore.
  - And 1.13.2rc1 became the 1.13.2 with the fix for the python module   build. The current code repository continues with version 1.13.3.
  fix: free() call more than once with the same pointer
  Update mini_event.c
  - Fix NLnetLabs#520: Unbound 1.13.2rc1 fails to build python module.
  Add (stub|forward)-tcp-upstream options which enable using tcp transport only for specified stub/forward zones
  For 1.13.2rc1.
  - Tag for 1.13.2 release.
  - Fix unit test zonemd_reload for use in run_vm.
  - Fix libnettle zonemd unit test.
  - Fix out of sourcedir run of zonemd unit tests.
  - Fix readzone compile under debug config.
  - Fix missing locks in zonemd unit test.
  - Fix static analysis warnings about localzone locks that are unused.
  ...
@Shchelk Shchelk deleted the bugfix branch August 13, 2021 06:15
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