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 530
    • Issues 530
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 100
    • Merge requests 100
  • 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
  • #3375

Closed
Open
Created May 22, 2022 by Arаm Sаrgsyаn@aramOwner

CID 352848, CID 352849: Control flow issues (DEADCODE)

** CID 352849:  Control flow issues  (DEADCODE)
/lib/dns/xfrin.c: 1143 in xfrin_start()


________________________________________________________________________________________________________
*** CID 352849:  Control flow issues  (DEADCODE)
/lib/dns/xfrin.c: 1143 in xfrin_start()
1137     	}
1138     
1139     	if (store != NULL && store != found_store) {
1140     		isc_tls_cert_store_free(&store);
1141     	}
1142     
>>>     CID 352849:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "sess_cache != found_sess_cache" inside this statement: "if (sess_cache != NULL && s...".
1143     	if (sess_cache != NULL && sess_cache != found_sess_cache) {
1144     		isc_tlsctx_client_session_cache_detach(&sess_cache);
1145     	}
1146     
1147     	isc_refcount_decrement0(&xfr->connects);
1148     	dns_xfrin_detach(&connect_xfr);

** CID 352848:  Control flow issues  (DEADCODE)
/bin/dig/dighost.c: 2880 in get_create_tls_context()


________________________________________________________________________________________________________
*** CID 352848:  Control flow issues  (DEADCODE)
/bin/dig/dighost.c: 2880 in get_create_tls_context()
2874     	if (ctx != NULL && found_ctx != ctx) {
2875     		isc_tlsctx_free(&ctx);
2876     	}
2877     	if (store != NULL && store != found_store) {
2878     		isc_tls_cert_store_free(&store);
2879     	}
>>>     CID 352848:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "sess_cache != found_sess_cache" inside this statement: "if (sess_cache != NULL && s...".
2880     	if (sess_cache != NULL && sess_cache != found_sess_cache) {
2881     		isc_tlsctx_client_session_cache_detach(&sess_cache);
2882     	}
2883     	return (NULL);
2884     }
2885     
Assignee
Assign to
Time tracking