Mark Andrews
456d53d1fb
Remove redundant 'version == NULL' check
...
*** CID 318094: Null pointer dereferences (REVERSE_INULL)
/lib/dns/rbtdb.c: 1389 in newversion()
1383 version->xfrsize = rbtdb->current_version->xfrsize;
1384 RWUNLOCK(&rbtdb->current_version->rwlock, isc_rwlocktype_read);
1385 rbtdb->next_serial++;
1386 rbtdb->future_version = version;
1387 RBTDB_UNLOCK(&rbtdb->lock, isc_rwlocktype_write);
1388
CID 318094: Null pointer dereferences (REVERSE_INULL)
Null-checking "version" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
1389 if (version == NULL) {
1390 return (result);
1391 }
1392
1393 *versionp = version;
1394
2021-02-03 13:06:27 +01:00
..
2021-01-29 12:07:38 +01:00
2020-11-26 20:48:46 +00:00
2020-12-11 10:48:28 +01:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-10-05 16:21:21 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-19 10:12:40 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-29 08:22:08 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-25 12:45:47 +01:00
2021-02-03 12:22:33 +11:00
2020-11-25 08:25:29 +11:00
2020-11-11 12:53:23 -03:00
2020-12-23 09:02:11 +01:00
2020-09-29 08:22:08 +02:00
2020-09-14 16:20:40 -07:00
2020-12-23 09:02:11 +01:00
2020-12-23 09:02:11 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-10-28 15:48:58 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-12 10:54:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 08:36:14 +01:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-09-23 16:09:26 +02:00
2020-09-30 13:24:29 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-26 10:43:59 +01:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2021-01-25 09:19:22 +01:00
2020-09-14 16:20:40 -07:00
2021-01-26 15:01:26 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-10-02 08:41:43 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-12-01 10:46:58 +11:00
2020-09-14 16:20:40 -07:00
2020-12-08 18:36:23 +01:00
2021-02-03 13:06:27 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-11-26 10:43:59 +01:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-11 12:53:23 -03:00
2020-11-11 12:53:23 -03:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-29 10:36:07 +10:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-29 12:07:38 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-12-23 09:02:11 +01:00
2020-10-30 00:17:24 +11:00
2021-01-29 12:07:38 +01:00
2021-01-29 12:07:38 +01:00
2020-11-26 10:43:59 +01:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2021-01-28 11:07:03 +11:00
2021-02-03 12:22:33 +11:00