Subject: | New Defects reported by Coverity Scan for BIND |
Date: | Fri, 02 Jun 2017 08:35:23 -0700 |
To: | bind9-bugs@isc.org |
From: | scan-admin@coverity.com |
Hi,
Please find the latest report on new defect(s) introduced to BIND found with Coverity Scan.
1 new defect(s) introduced to BIND found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1411902: Code maintainability issues (UNUSED_VALUE)
/bin/named/query.c: 1501 in query_getdb()
________________________________________________________________________________________________________
*** CID 1411902: Code maintainability issues (UNUSED_VALUE)
/bin/named/query.c: 1501 in query_getdb()
1495 * If the previous search returned a version, clear it.
1496 */
1497 *versionp = NULL;
1498
1499 dbversion = query_findversion(client, tdbp);
1500 if (dbversion == NULL) {
>>> CID 1411902: Code maintainability issues (UNUSED_VALUE)
>>> Assigning value "1U" to "result" here, but that stored value is overwritten before it can be used.
1501 result = ISC_R_NOMEMORY;
1502 } else {
1503 /*
1504 * Be sure to return our database.
1505 */
1506 *dbp = tdbp;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRatftY8JjD0XUVeK0eDwSEPh4vRqywf0w3swJ8N5sF82Q-3D-3D_QjBaZtEJDFdtBJj3YWWx4OwxXn6h7X1bCFA-2Bmidshrinu1jou4NVqGsWSR3nCbIenePXdKbavLr2De5BzDAPQnmzVW4DkbCGiYzw3GEMz2gHiWmYS7UXdrfBHSrnzW-2B-2BOum5Xnk4iuOm2XFf1bJolMNz0MsmUfMoqWdTJqwBWlGsEq4wPuYJQvJW7RQwfOv-2FWsjXHbZxmJ-2B4nnD9BFL2K9Mf8KlOKvV8z80uIUhmnj8-3D
To manage Coverity Scan email notifications for "bind9-bugs@isc.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4rIy41Xs74BznZj4k3EIh0OhIeqrl4tMKvZau-2B5LUEdCBSWjNYx5kf-2B92zKd1nnWiMMfay-2Fg7DuBn2-2BCqidUp9Y39BJMi1Fd-2FeSXcvFgX1I4-3D_QjBaZtEJDFdtBJj3YWWx4OwxXn6h7X1bCFA-2Bmidshrinu1jou4NVqGsWSR3nCbIeS-2BrO5C9GlTf574tvck3LRJQKHeeMoALRdFml47o0-2Bge2w836wINSU7LcJicuMLhX-2BCfp-2BuzE-2BLiauiSJ99RL14MFPtQquBooq29DYk73dDosOrLKfdXN8FYPAfRNASsXB3x6XQQhUnyx6m0UD1VWxc-2F7hP0rvxPz-2BkL91S9fza8-3D