Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 526
    • Issues 526
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 102
    • Merge requests 102
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • 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 Projects
  • BINDBIND
  • Issues
  • #2935

Closed
Open
Created Oct 06, 2021 by Mark Andrews@markaOwner

CID 339035 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)

signeedsfree doesn't correctly track whether sig.signature needs to be freed.

lib/dns/dnssec.c:

1054failure:
    	11. Condition dynbuf != NULL, taking false branch.
1055        if (dynbuf != NULL) {
1056                isc_buffer_free(&dynbuf);
1057        }
    	12. Condition signeedsfree, taking true branch.
1058        if (signeedsfree) {
    	
CID 339035 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)
13. var_deref_model: Passing null pointer sig.signature to isc__mem_put, which dereferences it. [show details]
1059                isc_mem_put(mctx, sig.signature, sig.siglen);
1060        }
1061        if (ctx != NULL) {
1062                dst_context_destroy(&ctx);
1063        }
Assignee
Assign to
Time tracking