Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 634
    • Issues 634
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 92
    • Merge requests 92
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2010
Closed
Open
Issue created Jul 07, 2020 by Mark Andrews@markaDeveloper

Potential NULL pointer dereference (9.11) in dnstap.c

       REQUIRE(handlep != NULL && *handlep == NULL);
 858
 859        handle = isc_mem_get(mctx, sizeof(*handle));
    	4. Condition handle == NULL, taking true branch.
    	5. var_compare_op: Comparing handle to null implies that handle might be null.
 860        if (handle == NULL)
    	6. Condition result != 0, taking true branch.
    	7. Jumping to label cleanup.
 861                CHECK(ISC_R_NOMEMORY);
...
897 cleanup:
    	8. Condition result != 0, taking true branch.
    	
CID 286432 (#1 of 1): Dereference after null check (FORWARD_NULL)
9. var_deref_op: Dereferencing null pointer handle.
 898        if (result != ISC_R_SUCCESS && handle->reader != NULL) {
 899                fstrm_reader_destroy(&handle->reader);
 900                handle->reader = NULL;
 901        }
Assignee
Assign to
Time tracking