[Gluster-devel] <test> GlusterFS master Coverity for 2017-04-04-b75fa356

kkeithle at redhat.com kkeithle at redhat.com
Wed Apr 5 15:03:57 UTC 2017


Error: ARRAY_VS_SINGLETON:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:72:
cond_false: Condition "delta < 256", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:73:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:77:
cond_false: Condition "mask == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:78:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:80:
address_of: Taking address with "&mask" yields a singleton pointer.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:80:
callee_ptr_arith: Passing "&mask" to function "gf_tw_find_last_bit" which uses it as an array. This might corrupt or misinterpret adjacent memory locations.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:65:2:
cond_true: Condition "size & 63UL /* 64 - 1 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:66:3:
ptr_arith: Performing pointer arithmetic on "addr" in expression "addr + words".
Error: ARRAY_VS_SINGLETON:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-reborp.c:247:
cond_true: Condition "1", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-reborp.c:251:
address_of: Taking address with "&vec" yields a singleton pointer.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-reborp.c:251:
callee_ptr_arith: Passing "&vec" to function "gf_changelog_invoke_callback" which uses it as an array. This might corrupt or misinterpret adjacent memory locations.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-reborp.c:167:9:
cond_true: Condition "i < payloadcnt", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-reborp.c:168:17:
ptr_arith: Performing pointer arithmetic on "vec" in expression "vec + i".
Error: ATOMICITY:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:540:
cond_false: Condition "use_spinlocks", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:540:
lock: Locking "&slot->lock.mutex".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:542:
def: Assigning data that might be protected by the lock to "fd".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:543:
cond_false: Condition "fd == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:550:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:552:
cond_false: Condition "gen != slot->gen", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:559:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:567:
cond_false: Condition "use_spinlocks", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:567:
unlock: Unlocking "&slot->lock.mutex". "fd" might now be unreliable because other threads can now change the data that it depends on.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:569:
cond_false: Condition "!handler", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:570:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:577:
cond_false: Condition "use_spinlocks", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:581:
cond_false: Condition "gen != slot->gen", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:590:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:596:
cond_true: Condition "slot->in_handler == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:577:
lockagain: Locking "&slot->lock.mutex" again.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:598:
use: Using an unreliable value of "fd" inside the second locked section. If the data that "fd" depends on was changed by another thread, this use might be incorrect.
Error: ATOMICITY:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:540:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:540:
lock: Locking "&slot->lock.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:542:
def: Assigning data that might be protected by the lock to "fd".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:543:
cond_false: Condition "fd == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:550:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:552:
cond_false: Condition "gen != slot->gen", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:559:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:567:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:567:
unlock: Unlocking "&slot->lock.spinlock". "fd" might now be unreliable because other threads can now change the data that it depends on.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:569:
cond_false: Condition "!handler", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:570:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:577:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:581:
cond_false: Condition "gen != slot->gen", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:590:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:596:
cond_true: Condition "slot->in_handler == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:577:
lockagain: Locking "&slot->lock.spinlock" again.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/event-epoll.c:598:
use: Using an unreliable value of "fd" inside the second locked section. If the data that "fd" depends on was changed by another thread, this use might be incorrect.
Error: ATOMICITY:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:944:
cond_true: Condition "table->page_size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:945:
cond_true: Condition "table->page_size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:960:
cond_true: Condition "trav_offset < rounded_end", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:961:
lock: Locking "&ioc_inode->inode_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:964:
def: Assigning data that might be protected by the lock to "trav".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:966:
cond_true: Condition "trav_offset > offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:967:
cond_true: Condition "offset + size - local_offset < table->page_size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:970:
cond_false: Condition "!trav", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:987:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:992:
cond_true: Condition "trav->ready", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:994:
cond_false: Condition "!might_need_validate", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1005:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1010:
cond_true: Condition "!ioc_inode->waitq", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1016:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1028:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1033:
unlock: Unlocking "&ioc_inode->inode_lock". "trav" might now be unreliable because other threads can now change the data that it depends on.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1038:
cond_false: Condition "fault", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1042:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1044:
cond_true: Condition "need_validate", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1051:
cond_true: Condition "ret == -1", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1052:
lockagain: Locking "&ioc_inode->inode_lock" again.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1054:
use: Using an unreliable value of "trav" inside the second locked section. If the data that "trav" depends on was changed by another thread, this use might be incorrect.
Error: BAD_FREE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3123:
cond_true: Condition "ent != &qpreg->ents[hash]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3123:
cond_true: Condition "ent->qp_num != qp_num", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3124:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3123:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3123:
cond_false: Condition "ent != &qpreg->ents[hash]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3124:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3123:
address_compare: Comparison implies that pointer "ent" points to "qpreg->ents[hash]".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3125:
cond_false: Condition "ent->qp_num != qp_num", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3128:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3132:
incorrect_free: "__gf_free" frees incorrect pointer "ent".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:295:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:296:17:
cond_true: Condition "free_ptr != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:296:17:
freed_arg: "free" frees parameter "free_ptr".
Error: BAD_SHIFT:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:653:
cond_true: Condition "ec_child_select(fop)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:659:
cond_true: Condition "count-- > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:663:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:659:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:659:
cond_true: Condition "count-- > 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:661:
return_constant: Function call "ec_child_next(ec, fop, idx + 1)" returns -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:661:
assignment: Assigning: "idx" = "ec_child_next(ec, fop, idx + 1)". The value of "idx" is now -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:662:
negative_shift: In expression "1ULL << idx", shifting by a negative amount has undefined behavior.  The shift amount, "idx", is -1.
Error: BAD_SHIFT:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3077:
cond_false: Condition "NULL == ipdupstr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3081:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3083:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3083:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3083:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3088:
cond_true: Condition "!valid_ipv4_address(ip, (int)length, _gf_false)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3088:
cond_false: Condition "!valid_host_name(ip, (int)length)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3093:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3096:
cond_false: Condition "NULL == hostspec->host_addr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3100:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3117:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3117:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3117:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3118:
cond_true: Condition "token != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3119:
zero_return: Function call "strtol(token, &endptr, 10)" returns 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3119:
assignment: Assigning: "prefixlen" = "strtol(token, &endptr, 10)". The value of "prefixlen" is now 0.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3120:
cond_false: Condition "*__errno_location() != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3120:
cond_false: Condition "*endptr != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3120:
cond_false: Condition "prefixlen < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3120:
cond_false: Condition "prefixlen > 32", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3126:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3134:
assignment: Assigning: "shiftbits" = "32L - prefixlen". The value of "shiftbits" is now 32.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3135:
large_shift: In expression "0xffffffffU << shiftbits", left shifting by more than 31 bits has undefined behavior.  The shift amount, "shiftbits", is 32.
Error: BAD_SHIFT:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2702:
cond_false: Condition "netaddr == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2703:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2706:
cond_false: Condition "inet_pton(2, ipaddr, &sin1.sin_addr) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2707:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2712:
cond_false: Condition "inet_pton(2, netaddr, &sin2.sin_addr) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2713:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2720:
zero_return: Function call "atoi(slash + 1)" returns 0. [Note: The source code implementation of the function has been overridden by a builtin model.]
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2720:
assignment: Assigning: "prefixlen" = "(uint32_t)atoi(slash + 1)". The value of "prefixlen" is now 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2721:
assignment: Assigning: "shift" = "32U - prefixlen". The value of "shift" is now 32.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2722:
large_shift: In expression "0xffffffffU << shift", left shifting by more than 31 bits has undefined behavior.  The shift amount, "shift", is 32.
Error: BAD_SHIFT:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:72:
cond_false: Condition "delta < 256", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:73:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:77:
cond_false: Condition "mask == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:78:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:80:
identity_transfer: Passing "64UL" as argument 2 to function "gf_tw_find_last_bit", which returns that argument.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:65:2:
cond_true: Condition "size & 63UL /* 64 - 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:68:3:
cond_false: Condition "tmp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:69:4:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:72:2:
cond_true: Condition "words", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:74:3:
cond_false: Condition "tmp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:77:3:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:78:2:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:72:2:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:72:2:
cond_false: Condition "words", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:78:2:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/find_last_bit.c:81:2:
return_parm: Returning parameter "size".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:80:
assignment: Assigning: "bit" = "gf_tw_find_last_bit(&mask, 64UL)". The value of "bit" is now 64.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:81:
large_shift: In expression "1UL << bit", left shifting by more than 63 bits has undefined behavior.  The shift amount, "bit", is 64.
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3671:
cond_false: Condition "!volinfo->dist_leaf_count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3672:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3674:
cond_true: Condition "volinfo->dist_leaf_count == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3675:
goto: Jumping to label "build_distribute".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3733:
label: Reached label "build_distribute".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3735:
cond_false: Condition "!dist_count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3738:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3739:
cond_true: Condition "volinfo->tier_info.hot_brick_count", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3740:
buffer_size: You might overrun the 256 byte destination string "tmp_volname" by writing the maximum 260 bytes from "volinfo->volname".
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4424:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4424:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4426:
cond_true: Condition "!this->private", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4427:
cond_false: Condition "!volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4427:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4428:
cond_true: Condition "!conf_path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4433:
cond_false: Condition "!confd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4437:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4445:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4450:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4466:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4475:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4493:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4497:
cond_true: Condition "ret <= 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4507:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4510:
cond_true: Condition "&brickinfo->brick_list != &volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4511:
cond_false: Condition "gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4512:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4516:
cond_false: Condition "!sts_val", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4521:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4525:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4528:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4542:
buffer_size: You might overrun the 255 byte destination string "sts_val->brick" by writing the maximum 4095 bytes from "brickinfo->path".
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4424:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4424:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4426:
cond_true: Condition "!this->private", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4427:
cond_false: Condition "!volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4427:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4428:
cond_true: Condition "!conf_path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4433:
cond_false: Condition "!confd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4437:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4445:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4450:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4466:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4475:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4493:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4497:
cond_true: Condition "ret <= 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4507:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4510:
cond_true: Condition "&brickinfo->brick_list != &volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4511:
cond_false: Condition "gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4512:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4516:
cond_false: Condition "!sts_val", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4521:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4525:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4528:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4533:
buffer_size: You might overrun the 255 byte destination string "sts_val->master" by writing the maximum 260 bytes from "master".
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4424:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4424:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4426:
cond_true: Condition "!this->private", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4427:
cond_false: Condition "!volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4427:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4428:
cond_true: Condition "!conf_path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4433:
cond_false: Condition "!confd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4437:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4445:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4450:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4466:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4475:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4493:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4497:
cond_true: Condition "ret <= 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4507:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4510:
cond_true: Condition "&brickinfo->brick_list != &volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4511:
cond_false: Condition "gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4512:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4516:
cond_false: Condition "!sts_val", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4521:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4525:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4528:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4537:
buffer_size: You might overrun the 255 byte destination string "sts_val->node" by writing the maximum 1023 bytes from "brickinfo->hostname".
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2873:
cond_false: Condition "!path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2873:
cond_false: Condition "*path != '/'", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2874:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2876:
cond_false: Condition "!strcmp(path, "/")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2877:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2880:
cond_false: Condition "!tmppath", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2881:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2886:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2886:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2886:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2888:
cond_true: Condition "dir", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2892:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2892:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2892:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2893:
cond_true: Condition "dir", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2894:
buffer_size: Calling strncpy with a source string whose length (1 chars) is greater than or equal to the size argument (1) will fail to null-terminate "path + path_len".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2895:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2888:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2888:
cond_true: Condition "dir", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2892:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2892:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2892:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2893:
cond_false: Condition "dir", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2894:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2895:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2888:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2888:
cond_false: Condition "dir", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2895:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2900:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2901:
if_end: End of if statement.
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3113:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3114:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3116:
cond_false: Condition "!this->children", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3116:
cond_false: Condition "this->children->next", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3120:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3121:
cond_true: Condition "!this->parents", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3122:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3122:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3127:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3131:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
cond_true: Condition "i < GF_FOP_MAXVALUE", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3140:
cond_true: Condition "gf_fop_list[i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3141:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3145:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3148:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
cond_true: Condition "i < GF_FOP_MAXVALUE", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3140:
cond_true: Condition "gf_fop_list[i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3141:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3145:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3148:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
cond_true: Condition "i < GF_FOP_MAXVALUE", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3140:
cond_false: Condition "gf_fop_list[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3145:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3145:
buffer_size: Calling strncpy with a source string whose length (2 chars) is greater than or equal to the size argument (2) will fail to null-terminate "trace_fop_names[i].name".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3148:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3139:
cond_false: Condition "i < GF_FOP_MAXVALUE", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3148:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3151:
cond_true: Condition "includes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3151:
cond_true: Condition "excludes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3152:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3152:
if_end: End of if statement.
Error: BUFFER_SIZE:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3052:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3052:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3053:
cond_false: Condition "!this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3053:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3054:
cond_false: Condition "!options", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3054:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
cond_true: Condition "i < GF_FOP_MAXVALUE", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3064:
cond_true: Condition "gf_fop_list[i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3065:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3069:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3072:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
cond_true: Condition "i < GF_FOP_MAXVALUE", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3064:
cond_true: Condition "gf_fop_list[i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3065:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3069:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3072:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
cond_true: Condition "i < GF_FOP_MAXVALUE", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3064:
cond_false: Condition "gf_fop_list[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3069:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3069:
buffer_size: Calling strncpy with a source string whose length (2 chars) is greater than or equal to the size argument (2) will fail to null-terminate "trace_fop_names[i].name".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3072:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3063:
cond_false: Condition "i < GF_FOP_MAXVALUE", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3072:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3075:
cond_true: Condition "includes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3075:
cond_true: Condition "excludes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3076:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3076:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3080:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:3098:
label: Reached label "out".
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1528:
cond_false: Condition "!req", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1528:
cond_false: Condition "!ms", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1528:
cond_false: Condition "!exp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1528:
cond_false: Condition "!subdir", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1529:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1534:
cond_true: Condition "NULL != exp->hostspec", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1536:
cond_false: Condition "0 != ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1541:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1545:
cond_false: Condition "!mres", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1549:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1555:
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array "mres->remainingdir" of size 1024 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1558:
cond_true: Condition "((struct nfs_state *)ms->nfsx->private)->dynamicvolumes == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1559:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1563:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:1567:
cond_true: Condition "ret < 0", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:590:
cond_false: Condition "!ms", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:590:
cond_false: Condition "!req", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:590:
cond_false: Condition "!expname", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:591:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:595:
cond_false: Condition "!me", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:596:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:602:
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array "me->exname" of size 1024 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:606:
cond_true: Condition "fullpath", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:607:
cond_true: Condition "strlen(fullpath) < 1024", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:619:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:620:
goto: Jumping to label "free_err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:658:
label: Reached label "free_err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:659:
cond_true: Condition "update_rmtab", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:662:
cond_true: Condition "ret == -1", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3011:
cond_false: Condition "!host", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3011:
cond_false: Condition "!export", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3011:
cond_false: Condition "!nfsx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3012:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3015:
cond_false: Condition "!ms", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3016:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3019:
cond_false: Condition "!me", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3020:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3022:
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array "me->exname" of size 1024 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3025:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3030:
cond_true: Condition "use_spinlocks", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3011:
cond_false: Condition "!host", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3011:
cond_false: Condition "!export", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3011:
cond_false: Condition "!nfsx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3012:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3015:
cond_false: Condition "!ms", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3016:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3019:
cond_false: Condition "!me", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3020:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3023:
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array "me->hostname" of size 1024 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3025:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3030:
cond_true: Condition "use_spinlocks", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3023:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3023:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3025:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3025:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3029:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3034:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3036:
cond_false: Condition "conf->op_version < 2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3044:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3048:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3048:
cond_false: Condition "!exists", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3056:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3061:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3067:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3072:
cond_true: Condition "!strcmp(uuid_str, host_uuid)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3076:
cond_true: Condition "ret == _gf_false", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3076:
cond_false: Condition "!is_force", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3090:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3090:
cond_true: Condition "ret == _gf_false", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3106:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3106:
cond_false: Condition "ret != -2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3113:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3117:
cond_true: Condition "!is_no_verify", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3125:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3144:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3148:
cond_false: Condition "!ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3200:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3206:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3218:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3221:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3225:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3227:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "statefiledir" of size 4096 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1814:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1816:
cond_false: Condition "!volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1816:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1817:
cond_true: Condition "!slave", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1818:
cond_true: Condition "!op_errstr", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1819:
cond_true: Condition "!conf_path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1820:
cond_false: Condition "this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1822:
cond_false: Condition "GLUSTERD_STATUS_STARTED != volinfo->status", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1826:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1830:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "statefiledir" of size 4096 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3457:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3457:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3459:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3459:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3462:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3467:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3469:
cond_false: Condition "type == GF_GSYNC_OPTION_TYPE_STATUS", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3472:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3476:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3477:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3481:
cond_false: Condition "conf->op_version < 2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3486:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3490:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3490:
cond_false: Condition "!exists", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3495:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3500:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3506:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3513:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3535:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3537:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3542:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3548:
cond_false: Condition "type == GF_GSYNC_OPTION_TYPE_STOP", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:3552:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "statefiledir" of size 4096 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1278:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1278:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1282:
cond_false: Condition "!param", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1282:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1283:
cond_false: Condition "!param->volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1283:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1285:
cond_true: Condition "this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1287:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1287:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1289:
buffer_size_warning: Calling strncpy with a maximum size argument of 880 bytes on destination array "slv_url" of size 880 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:95:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:95:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:96:
cond_true: Condition "!frame->root", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:97:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:97:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_false: Condition "!ctr_inode_cx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "!ctr_inode_cx->gfid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "!ctr_inode_cx->gfid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "!(ctr_inode_cx->fop_type != GFDB_FOP_INVALID_OP)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "!(ctr_inode_cx->fop_path != GFDB_FOP_INVALID)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "ctr_inode_cx->new_link_cx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "ctr_inode_cx->new_link_cx->pargfid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_false: Condition "!ctr_inode_cx->new_link_cx->pargfid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "!ctr_inode_cx->new_link_cx->basename", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "ctr_inode_cx->old_link_cx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "ctr_inode_cx->old_link_cx->pargfid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_false: Condition "!ctr_inode_cx->old_link_cx->pargfid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:98:
cond_true: Condition "!ctr_inode_cx->old_link_cx->basename", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:101:
cond_false: Condition "!_priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:101:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:103:
cond_true: Condition "_priv->ctr_record_wind", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:103:
cond_true: Condition "ctr_inode_cx->ia_type != IA_IFDIR", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:106:
cond_false: Condition "!frame->local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:111:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:132:
buffer_size_warning: Calling strncpy with a maximum size argument of 256 bytes on destination array "ctr_local->gfdb_db_record.file_name" of size 256 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:148:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:151:
if_end: End of if statement.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1327:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1327:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1328:
cond_true: Condition "!volinfo", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1331:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1331:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1333:
cond_true: Condition "bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1338:
cond_true: Condition "count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1339:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" \n"[1] - (size_t)(void const *)" \n" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1339:
cond_true: Condition "(char const *)" \n"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1339:
cond_false: Condition "(char const *)" \n"[1] == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1341:
cond_true: Condition "dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1343:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1349:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1354:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1359:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1366:
cond_false: Condition "brickid < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1367:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1368:
cond_true: Condition "i <= count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1371:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1372:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1380:
cond_true: Condition "conf->op_version >= 30600", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1385:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1390:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1391:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "brickinfo->mount_dir" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1396:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1397:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:1561:
label: Reached label "out".
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3470:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3470:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3471:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3471:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3472:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3472:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3473:
cond_false: Condition "!loc->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3473:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3474:
cond_false: Condition "!this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3474:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3479:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3483:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3486:
cond_false: Condition "!layout", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3492:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3494:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3496:
cond_false: Condition "!local->key", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3499:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3502:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3502:
cond_false: Condition "strncmp(key, "glusterfs.get_real_filename:", strlen("glusterfs.get_real_filename:")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3508:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3510:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3510:
cond_true: Condition "layout->cnt > 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3510:
cond_false: Condition "!strcmp(key, "glusterfs.find-local-subvol")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3533:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3545:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3545:
cond_true: Condition "layout->cnt > 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3545:
cond_true: Condition "strncmp(key, "trusted.glusterfs.pathinfo", strlen(key)) == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3548:
buffer_size_warning: Calling strncpy with a maximum size argument of 256 bytes on destination array "local->xsel" of size 256 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
cond_true: Condition "i < cnt", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_true: Condition "!_new", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3555:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
cond_true: Condition "i < cnt", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_true: Condition "!_new", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3555:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
cond_true: Condition "i < cnt", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_false: Condition "!_new", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3552:
cond_true: Condition "frame->this->ctx->measure_latency", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3555:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3550:
cond_false: Condition "i < cnt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3555:
loop_end: Reached end of loop.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3470:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3470:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3471:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3471:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3472:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3472:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3473:
cond_false: Condition "!loc->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3473:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3474:
cond_false: Condition "!this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3474:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3479:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3483:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3486:
cond_false: Condition "!layout", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3492:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3494:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3496:
cond_false: Condition "!local->key", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3499:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3502:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3502:
cond_true: Condition "strncmp(key, "glusterfs.get_real_filename:", strlen("glusterfs.get_real_filename:")) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3502:
cond_false: Condition "layout->cnt > 1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3508:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3510:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3510:
cond_false: Condition "layout->cnt > 1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3533:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3545:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3545:
cond_false: Condition "layout->cnt > 1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3557:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3560:
cond_true: Condition "key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3560:
cond_true: Condition "strcmp(key, "trusted.glusterfs.node-uuid") == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3563:
buffer_size_warning: Calling strncpy with a maximum size argument of 256 bytes on destination array "local->xsel" of size 256 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3566:
cond_true: Condition "!_new", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3566:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3566:
loop_end: Reached end of loop.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:207:
cond_true: Condition "!dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:208:
cond_true: Condition "!rsp_dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
cond_false: Condition "!new_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
cond_false: Condition "!snap_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:214:
cond_true: Condition "&brickinfo->brick_list != &snap_volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:217:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:222:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:226:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:231:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:240:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:251:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:258:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:265:
cond_true: Condition "!ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:266:
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array "new_brickinfo->mnt_opts" of size 1024 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "!gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "brickinfo->snap_status != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:281:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:289:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:339:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_false: Condition "NULL != new_brickinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:342:
if_end: End of if statement.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:207:
cond_true: Condition "!dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:208:
cond_true: Condition "!rsp_dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
cond_false: Condition "!new_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
cond_false: Condition "!snap_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:214:
cond_true: Condition "&brickinfo->brick_list != &snap_volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:217:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:222:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:226:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:231:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:240:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:251:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:258:
cond_true: Condition "!ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:259:
buffer_size_warning: Calling strncpy with a maximum size argument of 255 bytes on destination array "new_brickinfo->fstype" of size 255 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:265:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "!gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "brickinfo->snap_status != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:281:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:289:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:339:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_false: Condition "NULL != new_brickinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:342:
if_end: End of if statement.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:207:
cond_true: Condition "!dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:208:
cond_true: Condition "!rsp_dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
cond_false: Condition "!new_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
cond_false: Condition "!snap_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:214:
cond_true: Condition "&brickinfo->brick_list != &snap_volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:217:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:222:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:226:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:231:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:240:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:251:
cond_true: Condition "!ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:252:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "new_brickinfo->device_path" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:258:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:265:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "!gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "brickinfo->snap_status != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:281:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:289:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:339:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_false: Condition "NULL != new_brickinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:342:
if_end: End of if statement.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:206:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:207:
cond_true: Condition "!dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:208:
cond_true: Condition "!rsp_dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
cond_false: Condition "!new_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:210:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
cond_false: Condition "!snap_volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:211:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:214:
cond_true: Condition "&brickinfo->brick_list != &snap_volinfo->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:217:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:222:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:226:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:231:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:240:
cond_true: Condition "!ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:241:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "new_brickinfo->path" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:251:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:258:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:265:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "!gf_uuid_compare(brickinfo->uuid, __glusterd_uuid())", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:271:
cond_true: Condition "brickinfo->snap_status != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:281:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:289:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:339:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:340:
cond_false: Condition "NULL != new_brickinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:342:
if_end: End of if statement.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4222:
cond_false: Condition "loc == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4226:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_false: Condition "gf_uuid_is_null(loc->gfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->inode->ia_type == IA_IFDIR", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "((struct posix_private *)this->private)->path_max != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "var_len >= ((struct posix_private *)this->private)->path_max", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4231:
cond_false: Condition "!leaf_path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4235:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4239:
cond_false: Condition "size == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4256:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4258:
cond_false: Condition "size == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4261:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4264:
cond_false: Condition "!list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4267:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4270:
cond_false: Condition "size < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4274:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4279:
cond_false: Condition "op_ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4284:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_true: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
goto: Jumping to label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4340:
label: Reached label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4343:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_false: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4295:
cond_false: Condition "op_ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4301:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4305:
buffer_size_warning: Calling strncpy with a maximum size argument of 37 bytes on destination array "pgfidstr" of size 37 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4325:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4326:
goto: Jumping to label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4340:
label: Reached label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4343:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_false: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4295:
cond_true: Condition "op_ret == -1", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4222:
cond_false: Condition "loc == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4226:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_false: Condition "gf_uuid_is_null(loc->gfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->inode->ia_type == IA_IFDIR", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "((struct posix_private *)this->private)->path_max != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "var_len >= ((struct posix_private *)this->private)->path_max", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4231:
cond_false: Condition "!leaf_path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4235:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4239:
cond_false: Condition "size == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4256:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4258:
cond_false: Condition "size == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4261:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4264:
cond_false: Condition "!list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4267:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4270:
cond_false: Condition "size < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4274:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4279:
cond_false: Condition "op_ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4284:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_true: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
goto: Jumping to label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4340:
label: Reached label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4343:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_false: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4295:
cond_false: Condition "op_ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4301:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4312:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "dirpath" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4325:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4326:
goto: Jumping to label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4340:
label: Reached label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4343:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_false: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4295:
cond_true: Condition "op_ret == -1", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4222:
cond_false: Condition "loc == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4226:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_false: Condition "gf_uuid_is_null(loc->gfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->inode->ia_type == IA_IFDIR", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "((struct posix_private *)this->private)->path_max != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "var_len >= ((struct posix_private *)this->private)->path_max", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4230:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4231:
cond_false: Condition "!leaf_path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4235:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4239:
cond_false: Condition "size == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4256:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4258:
cond_false: Condition "size == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4261:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4264:
cond_false: Condition "!list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4267:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4270:
cond_false: Condition "size < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4274:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4279:
cond_false: Condition "op_ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4284:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_true: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
goto: Jumping to label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4340:
label: Reached label "next".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4343:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4286:
cond_true: Condition "remaining_size > 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4287:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "key" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4288:
cond_false: Condition "strncmp(key, "trusted.pgfid.", strlen("trusted.pgfid.")) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4290:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4295:
cond_true: Condition "op_ret == -1", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4412:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4412:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4413:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4413:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4414:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4414:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4417:
cond_true: Condition "gf_uuid_is_null(loc->gfid)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4417:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4417:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4423:
cond_true: Condition "frame->root->pid != GF_CLIENT_PID_GSYNCD", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4423:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4423:
cond_false: Condition "fnmatch("*.glusterfs.*.stime", name, 4 /* 1 << 2 */) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4428:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_true: Condition "loc->inode->ia_type == IA_IFDIR", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_true: Condition "!strncmp(name, "glusterfs.file.", 15)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4434:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4440:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4444:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4447:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4449:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4449:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4449:
cond_false: Condition "!strncmp(name, "glusterfs.posix.acl", strlen("glusterfs.posix.acl"))", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4449:
cond_false: Condition "!strncmp(name, "glusterfs.posix.default_acl", strlen("glusterfs.posix.default_acl"))", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4473:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4475:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4475:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4475:
cond_false: Condition "strncmp(name, "glusterfs.get_real_filename:", strlen("glusterfs.get_real_filename:")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4498:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4500:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4500:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4500:
cond_false: Condition "!strcmp(name, "glusterfs.open-fd-count")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4515:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4516:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4516:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4516:
cond_false: Condition "strncmp(name, "trusted.glusterfs.pathinfo", strlen(name)) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4516:
cond_false: Condition "strncmp(name, "glusterfs.pathinfo", strlen(name)) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4545:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4547:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4547:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4547:
cond_true: Condition "strcmp(name, "trusted.glusterfs.node-uuid") == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4547:
cond_false: Condition "!gf_uuid_is_null(priv->glusterd_uuid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4571:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4573:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4573:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4573:
cond_false: Condition "strcmp(name, "glusterfs.gfid2path") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4593:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4595:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4595:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4595:
cond_false: Condition "strcmp(name, "glusterfs.ancestry.path") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4619:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4621:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4621:
cond_true: Condition "name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4621:
cond_false: Condition "strncmp(name, "trusted.glusterfs.get-signature", strlen("trusted.glusterfs.get-signature")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4631:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4633:
cond_true: Condition "name", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4634:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "keybuffer" of size 4096 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4412:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4412:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4413:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4413:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4414:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4414:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4417:
cond_true: Condition "gf_uuid_is_null(loc->gfid)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4417:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4417:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4423:
cond_true: Condition "frame->root->pid != GF_CLIENT_PID_GSYNCD", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4423:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4428:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_true: Condition "loc->inode->ia_type == IA_IFDIR", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4430:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4441:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4444:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4447:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4449:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4449:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4473:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4475:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4475:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4498:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4500:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4500:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4515:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4516:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4516:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4545:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4547:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4547:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4571:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4573:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4573:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4593:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4595:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4595:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4619:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4621:
cond_true: Condition "loc->inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4621:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4631:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4633:
cond_false: Condition "name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4697:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4700:
cond_false: Condition "size == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4717:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4719:
cond_false: Condition "size == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4720:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4723:
cond_false: Condition "!list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4726:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4729:
cond_false: Condition "size < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4733:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4737:
cond_true: Condition "remaining_size > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4739:
cond_true: Condition "frame->root->pid != GF_CLIENT_PID_GSYNCD", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4739:
cond_true: Condition "fnmatch("*.glusterfs.*.stime", keybuffer, 4 /* 1 << 2 */) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4741:
goto: Jumping to label "ignore".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4790:
label: Reached label "ignore".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4794:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4737:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4737:
cond_true: Condition "remaining_size > 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4738:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "keybuffer" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4739:
cond_true: Condition "frame->root->pid != GF_CLIENT_PID_GSYNCD", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4739:
cond_false: Condition "fnmatch("*.glusterfs.*.stime", keybuffer, 4 /* 1 << 2 */) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4741:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4744:
cond_true: Condition "size == -1", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3523:
cond_true: Condition "!peer_data", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3524:
cond_true: Condition "!volinfo", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3525:
cond_true: Condition "!prefix", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3529:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3532:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3535:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3536:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3543:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3547:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3551:
cond_true: Condition "!ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3552:
buffer_size_warning: Calling strncpy with a maximum size argument of 256 bytes on destination array "new_volinfo->parent_volname" of size 256 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3558:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3561:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3897:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3898:
cond_true: Condition "msg[0]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3901:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3901:
if_end: End of if statement.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:528:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:528:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:530:
cond_true: Condition "!priv", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:531:
cond_false: Condition "!missed_snapinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:531:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:532:
cond_false: Condition "!snap_opinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:532:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:538:
cond_false: Condition "!snap", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:545:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:548:
cond_true: Condition "&volinfo->vol_list != &snap->volumes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:549:
cond_true: Condition "!strcmp(volinfo->volname, snap_opinfo->snap_vol_id)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:552:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:554:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:556:
cond_false: Condition "!snap_vol", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:564:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:567:
cond_true: Condition "&brickinfo->brick_list != &snap_vol->bricks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:569:
cond_true: Condition "i == snap_opinfo->brick_num", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:570:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:571:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:573:
cond_false: Condition "brickinfo->snap_status != -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:579:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:583:
cond_false: Condition "!device", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:591:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:595:
cond_false: Condition "!device", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:603:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:604:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "brickinfo->device_path" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:610:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:619:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:624:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:675:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:676:
cond_true: Condition "device", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1949:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1949:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1951:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1951:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1954:
cond_false: Condition "!path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1954:
cond_false: Condition "gf_uuid_is_null(pargfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1957:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1959:
cond_false: Condition "__is_root_gfid(pargfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1965:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1972:
cond_true: Condition "!__is_root_gfid(pargfid)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1977:
cond_false: Condition "len < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1984:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1988:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1988:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1988:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1990:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1990:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1990:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1993:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "pre_dir_name" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1997:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1972:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1972:
cond_true: Condition "!__is_root_gfid(pargfid)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1977:
cond_true: Condition "len < 0", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1440:
cond_true: Condition "setrlimit(RLIMIT_NOFILE, &lim) == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1445:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1450:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1456:
cond_true: Condition "!dir_data", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1459:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1461:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1464:
cond_true: Condition "ret != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1464:
cond_true: Condition "2 != *__errno_location()", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1472:
cond_false: Condition "!ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1478:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1481:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1481:
cond_false: Condition "2 == *__errno_location()", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1491:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1499:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1508:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1520:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1531:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1542:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1542:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1554:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1554:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1566:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1566:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1576:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1576:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1586:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1586:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1596:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1596:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1606:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1606:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1616:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1616:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1626:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1626:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1636:
cond_true: Condition "-1 == ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1636:
cond_true: Condition "*__errno_location() != 17", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1645:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1646:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1648:
cond_false: Condition "rpc == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1653:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1656:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1661:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1666:
cond_true: Condition "this->ctx->secure_mgmt", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1669:
cond_false: Condition "ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1674:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1693:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1698:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1701:
cond_false: Condition "total_transport <= 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1707:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1710:
cond_false: Condition "ret < 1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1716:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1716:
cond_true: Condition "ret < total_transport", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1723:
cond_true: Condition "i < gd_inet_programs_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1726:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1733:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1734:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1723:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1723:
cond_true: Condition "i < gd_inet_programs_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1726:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1733:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1734:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1723:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1723:
cond_false: Condition "i < gd_inet_programs_count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1734:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1742:
cond_false: Condition "uds_rpc == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1745:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1749:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1749:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1760:
buffer_size_warning: Calling strncpy with a maximum size argument of 4096 bytes on destination array "conf->workdir" of size 4096 bytes might leave the destination string unterminated.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1773:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1774:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1900:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1901:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd.c:1902:
cond_true: Condition "this->private != NULL", taking true branch.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:446:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:446:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:450:
buffer_size_warning: Calling strncpy with a maximum size argument of 880 bytes on destination array "slv_url" of size 880 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1518:
cond_true: Condition "slave_info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1520:
cond_true: Condition "slave_info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1521:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1523:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1526:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1518:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1518:
cond_true: Condition "slave_info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1520:
cond_true: Condition "slave_info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1521:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1523:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1526:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1518:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1518:
cond_true: Condition "slave_info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1520:
cond_false: Condition "slave_info", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1523:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1523:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1526:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1532:
cond_true: Condition "cnt == 4", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:1533:
buffer_size_warning: Calling strncpy with a maximum size argument of 880 bytes on destination array "slv_url" of size 880 bytes might leave the destination string unterminated.
Error: BUFFER_SIZE_WARNING:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub-status.c:58:
cond_false: Condition "!scrub_stat", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub-status.c:59:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub-status.c:69:
buffer_size_warning: Calling strncpy with a maximum size argument of 1024 bytes on destination array "scrub_stat->last_scrub_time" of size 1024 bytes might leave the destination string unterminated.
Error: CHAR_IO:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-volume.c:429:
char_io: Assigning the return value of "getchar" to char "flush" truncates its value.
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:852:
check_return: Calling "pthread_attr_init" without checking return value (as is done elsewhere 4 out of 5 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3597:
example_assign: Example 1: Assigning: "ret" = return value from "pthread_attr_init(&attr)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3598:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/stub/bit-rot-stub.c:79:
example_assign: Example 2: Assigning: "ret" = return value from "pthread_attr_init(&w_attr)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/stub/bit-rot-stub.c:80:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:801:
example_assign: Example 3: Assigning: "ret" = return value from "pthread_attr_init(&attr)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:802:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/index/src/index.c:2310:
example_checked: Example 4: "pthread_attr_init(&w_attr)" has its value checked in "(ret = pthread_attr_init(&w_attr)) != 0".
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:2748:
check_return: Calling "fd_ctx_del" without checking return value (as is done elsewhere 19 out of 21 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:35:
example_assign: Example 1: Assigning: "ret" = return value from "fd_ctx_del(fd, this, &value)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:36:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec.c:1262:
example_checked: Example 2: "fd_ctx_del(fd, this, &value)" has its value checked in "fd_ctx_del(fd, this, &value) == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:13396:
example_checked: Example 3: "fd_ctx_del(fd, this, &ctx)" has its value checked in "fd_ctx_del(fd, this, &ctx) == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/stub/bit-rot-stub.c:3150:
example_assign: Example 4: Assigning: "ret" = return value from "fd_ctx_del(fd, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/stub/bit-rot-stub.c:3151:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/index/src/index.c:2483:
example_assign: Example 5: Assigning: "ret" = return value from "fd_ctx_del(fd, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/index/src/index.c:2484:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1963:
cond_false: Condition "dict == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1965:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1969:
cond_false: Condition "!ctx->have_version", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1969:
cond_false: Condition "version[0] != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1969:
cond_false: Condition "version[1] != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1975:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1977:
cond_false: Condition "size != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1986:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1988:
cond_false: Condition "dirty[0]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1988:
cond_false: Condition "dirty[1]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1994:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1997:
cond_true: Condition "lock->loc.inode->ia_type == IA_IFREG", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1997:
cond_true: Condition "!ctx->have_config", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:2000:
check_return: Calling "ec_dict_set_number" without checking return value (as is done elsewhere 6 out of 7 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1392:
example_checked: Example 1: "ec_dict_set_number(xdata, "trusted.ec.size", 0UL)" has its value checked in "ec_dict_set_number(xdata, "trusted.ec.size", 0UL) != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1193:
example_assign: Example 2: Assigning: "error" = return value from "ec_dict_set_number(dict, "trusted.ec.size", 0UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1194:
example_checked: Example 2 (cont.): "error" has its value checked in "error == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1982:
example_assign: Example 3: Assigning: "err" = return value from "ec_dict_set_number(dict, "trusted.ec.size", size)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:1983:
example_checked: Example 3 (cont.): "err" has its value checked in "err != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-dir-write.c:167:
example_assign: Example 4: Assigning: "err" = return value from "ec_dict_set_number(fop->xdata, "trusted.ec.size", 0UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-dir-write.c:168:
example_checked: Example 4 (cont.): "err" has its value checked in "err != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-dir-write.c:739:
example_assign: Example 5: Assigning: "err" = return value from "ec_dict_set_number(fop->xdata, "trusted.ec.size", 0UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-dir-write.c:740:
example_checked: Example 5 (cont.): "err" has its value checked in "err != 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1707:
cond_true: Condition "&local_brick->list != comp->brick_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1709:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1707:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1707:
cond_true: Condition "&local_brick->list != comp->brick_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1709:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1707:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1707:
cond_false: Condition "&local_brick->list != comp->brick_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1709:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1711:
cond_true: Condition "!query_cbk_args->qfile_array", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1715:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1753:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1758:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1759:
cond_true: Condition "&local_brick->list != comp->brick_list", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1764:
check_return: Calling "sys_rename(local_brick->qfile_path, query_file_path_err)" without checking return value. It wraps a library function that may fail and return an error code.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:197:9:
return_wrapper: The function wraps and returns the value of "rename(oldpath, newpath)".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:2116:
cond_false: Condition "!xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:2116:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:2117:
cond_false: Condition "!local_bricklist_head", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:2117:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:2119:
check_return: Calling "gethostname" without checking return value (as is done elsewhere 5 out of 6 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2950:
example_checked: Example 1: "gethostname(hostname, 256UL)" has its value checked in "gethostname(hostname, 256UL) == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/graph.c:396:
example_checked: Example 2: "gethostname(hostname, 256UL)" has its value checked in "gethostname(hostname, 256UL) == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/nufa.c:606:
example_assign: Example 3: Assigning: "ret" = return value from "gethostname(my_hostname, 256UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/nufa.c:607:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4945:
example_assign: Example 4: Assigning: "ret" = return value from "gethostname(my_hostname, 256UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:4946:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:6993:
example_assign: Example 5: Assigning: "ret" = return value from "gethostname(_private->hostname, 256UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:6994:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:816:
cond_false: Condition "!ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:817:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:819:
cond_false: Condition "skip_logging(this, level)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:820:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:834:
cond_false: Condition "!domain", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:834:
cond_false: Condition "!file", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:834:
cond_false: Condition "!function", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:834:
cond_false: Condition "!fmt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:839:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:842:
cond_false: Condition "basename", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:845:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:851:
cond_true: Condition "ctx->log.log_control_file_found", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:856:
cond_true: Condition "GF_LOG_TRACE == level", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:858:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:860:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:863:
check_return: Calling "vasprintf" without checking return value (as is done elsewhere 11 out of 13 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:518:
example_assign: Example 1: Assigning: "ret" = return value from "vasprintf(&msg, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:520:
example_checked: Example 1 (cont.): "ret" has its value checked in "-1 == ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:634:
example_checked: Example 2: "vasprintf(&msg, format, ap)" has its value checked in "vasprintf(&msg, format, ap) != -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2219:
example_assign: Example 3: Assigning: "ret" = return value from "vasprintf(&str2, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2220:
example_checked: Example 3 (cont.): "ret" has its value checked in "-1 == ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2064:
example_assign: Example 4: Assigning: "ret" = return value from "vasprintf(&msgstr, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2068:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret != -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/strfd.c:34:
example_assign: Example 5: Assigning: "size" = return value from "vasprintf(&str, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/strfd.c:36:
example_checked: Example 5 (cont.): "size" has its value checked in "size < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2116:
cond_false: Condition "!ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2117:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2119:
cond_false: Condition "skip_logging(this, level)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2120:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2134:
cond_false: Condition "!domain", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2134:
cond_false: Condition "!file", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2134:
cond_false: Condition "!function", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2134:
cond_false: Condition "!fmt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2139:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2142:
cond_false: Condition "basename", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2145:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2147:
cond_true: Condition "ctx->log.log_control_file_found", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2152:
cond_true: Condition "GF_LOG_TRACE == level", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2154:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2156:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2159:
check_return: Calling "vasprintf" without checking return value (as is done elsewhere 11 out of 13 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:518:
example_assign: Example 1: Assigning: "ret" = return value from "vasprintf(&msg, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:520:
example_checked: Example 1 (cont.): "ret" has its value checked in "-1 == ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:634:
example_checked: Example 2: "vasprintf(&msg, format, ap)" has its value checked in "vasprintf(&msg, format, ap) != -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2219:
example_assign: Example 3: Assigning: "ret" = return value from "vasprintf(&str2, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2220:
example_checked: Example 3 (cont.): "ret" has its value checked in "-1 == ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2064:
example_assign: Example 4: Assigning: "ret" = return value from "vasprintf(&msgstr, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/logging.c:2068:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret != -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/strfd.c:34:
example_assign: Example 5: Assigning: "size" = return value from "vasprintf(&str, fmt, ap)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/strfd.c:36:
example_checked: Example 5 (cont.): "size" has its value checked in "size < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1358:
cond_true: Condition "cookie == (void *)0x1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1359:
cond_true: Condition "local->uid != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1359:
cond_true: Condition "local->gid != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1361:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1362:
cond_true: Condition "op_errno", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1364:
cond_true: Condition "local->stub != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker.c:1369:
check_return: Calling "mq_inode_ctx_get" without checking return value (as is done elsewhere 13 out of 14 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota-helper.c:458:
example_assign: Example 1: Assigning: "ret" = return value from "mq_inode_ctx_get(loc->inode, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota-helper.c:459:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota-helper.c:109:
example_assign: Example 2: Assigning: "ret" = return value from "mq_inode_ctx_get(inode, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota-helper.c:110:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1128:
example_assign: Example 3: Assigning: "ret" = return value from "mq_inode_ctx_get(loc->inode, this, &ctxtmp)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1129:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1163:
example_assign: Example 4: Assigning: "ret" = return value from "mq_inode_ctx_get(loc->inode, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1164:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:567:
example_assign: Example 5: Assigning: "ret" = return value from "mq_inode_ctx_get(loc->inode, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:568:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:392:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:395:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:398:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:401:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:408:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:411:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:413:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:414:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:415:
check_return: Calling "glfs_loc_touchup" without checking return value (as is done elsewhere 17 out of 19 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:357:
example_assign: Example 1: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:357:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1197:
example_assign: Example 2: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1197:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:528:
example_assign: Example 3: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:528:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:760:
example_assign: Example 4: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:760:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1641:
example_assign: Example 5: Assigning: "ret" = return value from "glfs_loc_touchup(&oldloc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1641:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret != 0".
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:906:
check_return: Calling "sys_readlink" without checking return value (as is done elsewhere 5 out of 6 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/geo-replication/src/gsyncd.c:276:
example_assign: Example 1: Assigning: "ret" = return value from "sys_readlink(path, buf, 4097UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/geo-replication/src/gsyncd.c:277:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1976:
example_assign: Example 2: Assigning: "len" = return value from "sys_readlink(dir_handle, linkname, 4096UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1977:
example_checked: Example 2 (cont.): "len" has its value checked in "len < 0L".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:322:
example_assign: Example 3: Assigning: "ret" = return value from "sys_readlink(base_str, linkname, 512UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:323:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:168:
example_assign: Example 4: Assigning: "len" = return value from "sys_readlink(dir_handle, linkname, 4096UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:169:
example_checked: Example 4 (cont.): "len" has its value checked in "len < 0L".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1261:
example_assign: Example 5: Assigning: "op_ret" = return value from "sys_readlink(real_path, dest, size)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1262:
example_checked: Example 5 (cont.): "op_ret" has its value checked in "op_ret == -1".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4896:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4896:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4899:
cond_true: Condition "ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4900:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4902:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4904:
cond_false: Condition "!op_ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4909:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4911:
switch: Switch case value "GD_OP_STATUS_VOLUME".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4912:
switch_case: Reached case "GD_OP_STATUS_VOLUME".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4914:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4918:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4920:
cond_false: Condition "!glusterd_is_volume_status_modify_op_ctx(cmd)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4925:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4929:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4933:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4936:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4940:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4950:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4951:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4953:
cond_true: Condition "i <= brick_index_max", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4957:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4961:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4962:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4953:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4953:
cond_false: Condition "i <= brick_index_max", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4962:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:4963:
check_return: Calling "glusterd_volinfo_find" without checking return value (as is done elsewhere 118 out of 122 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-bitrot.c:545:
example_assign: Example 1: Assigning: "ret" = return value from "glusterd_volinfo_find(volname, &volinfo)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-bitrot.c:546:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:2520:
example_assign: Example 2: Assigning: "ret" = return value from "glusterd_volinfo_find(volname, &volinfo)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:2522:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:6278:
example_assign: Example 3: Assigning: "ret" = return value from "glusterd_volinfo_find(volname, &volinfo)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:6279:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:2230:
example_assign: Example 4: Assigning: "ret" = return value from "glusterd_volinfo_find(volname, &vol)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:2231:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:7071:
example_assign: Example 5: Assigning: "ret" = return value from "glusterd_volinfo_find(volname, &volinfo)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:7072:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:187:
cond_false: Condition "op_ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:188:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:191:
cond_false: Condition "local == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:195:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:197:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:197:
cond_false: Condition "!this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:201:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:207:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:209:
check_return: Calling "__inode_ctx_get0" without checking return value (as is done elsewhere 31 out of 35 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:134:
example_assign: Example 1: Assigning: "ret" = return value from "__inode_ctx_get0(inode, this, &ctx_int)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:135:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:2411:
example_assign: Example 2: Assigning: "ret" = return value from "__inode_ctx_get0(inode, this, &value)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:2412:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:715:
example_checked: Example 3: "__inode_ctx_get0(inode, xl, &value)" has its value checked in "__inode_ctx_get0(inode, xl, &value) != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:119:
example_checked: Example 4: "__inode_ctx_get0(inode, this, &ctx_int)" has its value checked in "__inode_ctx_get0(inode, this, &ctx_int) == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/arbiter/src/arbiter.c:25:
example_assign: Example 5: Assigning: "ret" = return value from "__inode_ctx_get0(inode, this, &ctx_addr)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/arbiter/src/arbiter.c:26:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret == 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:187:
cond_false: Condition "op_ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:188:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:191:
cond_false: Condition "local == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:195:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:197:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:197:
cond_false: Condition "!this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:201:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:207:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:212:
cond_true: Condition "!ioc_inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:218:
check_return: Calling "__inode_ctx_put" without checking return value (as is done elsewhere 7 out of 8 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/arbiter/src/arbiter.c:35:
example_assign: Example 1: Assigning: "ret" = return value from "__inode_ctx_put(inode, this, (uint64_t)ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/arbiter/src/arbiter.c:36:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/index/src/index.c:80:
example_assign: Example 2: Assigning: "ret" = return value from "__inode_ctx_put(inode, this, (uint64_t)ictx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/index/src/index.c:81:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:439:
example_assign: Example 3: Assigning: "ret" = return value from "__inode_ctx_put(inode, this, (uint64_t)(long)pl_inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:440:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-common.c:45:
example_assign: Example 4: Assigning: "ret" = return value from "__inode_ctx_put(inode, this, (uint64_t)(unsigned long)*ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-common.c:47:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:43:
example_assign: Example 5: Assigning: "ret" = return value from "__inode_ctx_put(inode, this, (uint64_t)(long)ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:44:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1019:
cond_true: Condition "grp_buf_len == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1024:
cond_false: Condition "!grp_buf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1026:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1028:
check_return: Calling "getgrgid_r(gid, &grp, grp_buf, grp_buf_len, &grp_result)" without checking return value. This library function may fail and return an error code.
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3161:
check_return: Calling "gf_store_save_value" without checking return value (as is done elsewhere 75 out of 83 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2019:
example_assign: Example 1: Assigning: "ret" = return value from "gf_store_save_value(handle->fd, "UUID", uuid_str)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2021:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4715:
example_assign: Example 2: Assigning: "ret" = return value from "gf_store_save_value(fd, "cksum", buf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4716:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:1462:
example_assign: Example 3: Assigning: "ret" = return value from "gf_store_save_value(fd, "rebalance_status", buf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:1463:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:1381:
example_assign: Example 4: Assigning: "ret" = return value from "gf_store_save_value(fd, "tier_status", buf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:1383:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:798:
example_assign: Example 5: Assigning: "ret" = return value from "gf_store_save_value(fd, "parent_volname", buf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:799:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5078:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5078:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5079:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5079:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5080:
cond_false: Condition "!fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5080:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5081:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5081:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5084:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5088:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:5091:
check_return: Calling "posix_fdstat" without checking return value (as is done elsewhere 21 out of 22 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-aio.c:108:
example_assign: Example 1: Assigning: "ret" = return value from "posix_fdstat(this, _fd, &postbuf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-aio.c:109:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-aio.c:281:
example_assign: Example 2: Assigning: "ret" = return value from "posix_fdstat(this, _fd, &postbuf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-aio.c:282:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:749:
example_assign: Example 3: Assigning: "ret" = return value from "posix_fdstat(this, pfd->fd, statpre)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:750:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:3007:
example_assign: Example 4: Assigning: "op_ret" = return value from "posix_fdstat(this, _fd, &stbuf)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:3008:
example_checked: Example 4 (cont.): "op_ret" has its value checked in "op_ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:914:
example_assign: Example 5: Assigning: "ret" = return value from "posix_fdstat(this, pfd->fd, statpre)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:915:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret == -1".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2681:
cond_false: Condition "!buf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2685:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2687:
cond_false: Condition "size == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2691:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2693:
cond_false: Condition "!fill", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2697:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2699:
cond_false: Condition "!*fill", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2703:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2705:
cond_false: Condition "buf + 4 > orig_buf + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2712:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2718:
cond_false: Condition "count < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2722:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2727:
cond_true: Condition "i < count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2728:
cond_false: Condition "buf + 4 > orig_buf + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2736:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2741:
cond_false: Condition "buf + 4 > orig_buf + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2749:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2754:
cond_false: Condition "buf + keylen > orig_buf + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2762:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2766:
cond_false: Condition "buf + vallen > orig_buf + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2774:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2777:
cond_false: Condition "!value", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2780:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2786:
check_return: Calling "dict_add" without checking return value (as is done elsewhere 13 out of 14 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2250:
example_assign: Example 1: Assigning: "ret" = return value from "dict_add(this, key, data)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2251:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:788:
example_assign: Example 2: Assigning: "ret" = return value from "dict_add(xattr, "trusted.glusterfs.quota.limit-set", data)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:789:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1442:
example_assign: Example 3: Assigning: "ret" = return value from "dict_add(ctr_ipc_in_dict, "gfdb.ipc-ctr-get-qfile-path", data)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1442:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1243:
example_assign: Example 4: Assigning: "ret" = return value from "dict_add(params_dict, (char *)(*gfdb_methods.get_db_path_key)(), data)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1243:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1333:
example_assign: Example 5: Assigning: "ret" = return value from "dict_add(ctr_ipc_dict, "gfdb.ipc-ctr-op", data)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:1333:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:198:
check_return: Calling "__inode_ctx_get0" without checking return value (as is done elsewhere 31 out of 35 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:134:
example_assign: Example 1: Assigning: "ret" = return value from "__inode_ctx_get0(inode, this, &ctx_int)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:135:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:2411:
example_assign: Example 2: Assigning: "ret" = return value from "__inode_ctx_get0(inode, this, &value)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:2412:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:715:
example_checked: Example 3: "__inode_ctx_get0(inode, xl, &value)" has its value checked in "__inode_ctx_get0(inode, xl, &value) != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:119:
example_checked: Example 4: "__inode_ctx_get0(inode, this, &ctx_int)" has its value checked in "__inode_ctx_get0(inode, this, &ctx_int) == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/arbiter/src/arbiter.c:25:
example_assign: Example 5: Assigning: "ret" = return value from "__inode_ctx_get0(inode, this, &ctx_addr)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/arbiter/src/arbiter.c:26:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret == 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:473:
cond_true: Condition "fd_dup != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:473:
cond_true: Condition "fp", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:473:
cond_true: Condition "fgets(buffer, 1024, fp)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:473:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:473:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:475:
cond_false: Condition "encoding == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:476:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:478:
cond_false: Condition "major_version == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:479:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:481:
cond_false: Condition "minor_version == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:482:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:484:
cond_true: Condition "encoding > CHANGELOG_ENCODE_MIN", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:484:
cond_true: Condition "encoding < CHANGELOG_ENCODE_MAX", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:485:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:487:
cond_false: Condition "elen == stbuf->st_size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:490:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:492:
cond_true: Condition "major_version == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:492:
cond_true: Condition "minor_version == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:494:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:496:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:498:
cond_false: Condition "version_idx == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:499:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:504:
check_return: Calling "sys_lseek(from_fd, elen, 0)" without checking return value. It wraps a library function that may fail and return an error code.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:351:9:
return_wrapper: The function wraps and returns the value of "lseek(fd, offset, whence)".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3233:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3233:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3234:
cond_false: Condition "!fdctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3234:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3238:
cond_false: Condition "fdctx->remote_fd == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3241:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3251:
cond_true: Condition "lk_ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3254:
cond_true: Condition "!parent_down", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3255:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3257:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3260:
cond_false: Condition "fr == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3262:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3266:
cond_true: Condition "fdctx->is_dir", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3271:
check_return: Calling "client_submit_request" without checking return value (as is done elsewhere 52 out of 58 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:377:
example_assign: Example 1: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_RELEASE, clnt_release_reopen_fd_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_releasedir_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:383:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:579:
example_assign: Example 2: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_LK, client_reacquire_lock_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_lk_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:584:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:871:
example_assign: Example 3: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_OPENDIR, client3_3_reopendir_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_opendir_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:876:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:931:
example_assign: Example 4: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_OPEN, client3_3_reopen_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_open_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:935:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3642:
example_assign: Example 5: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_ACCESS, client3_3_access_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_access_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3647:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3233:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3233:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3234:
cond_false: Condition "!fdctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3234:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3238:
cond_false: Condition "fdctx->remote_fd == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3241:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3251:
cond_true: Condition "lk_ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3254:
cond_true: Condition "!parent_down", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3255:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3257:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3260:
cond_false: Condition "fr == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3262:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3266:
cond_false: Condition "fdctx->is_dir", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3276:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3281:
check_return: Calling "client_submit_request" without checking return value (as is done elsewhere 52 out of 58 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:377:
example_assign: Example 1: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_RELEASE, clnt_release_reopen_fd_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_releasedir_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:383:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:579:
example_assign: Example 2: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_LK, client_reacquire_lock_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_lk_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:584:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:871:
example_assign: Example 3: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_OPENDIR, client3_3_reopendir_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_opendir_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:876:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:931:
example_assign: Example 4: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_OPEN, client3_3_reopen_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_open_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:935:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3642:
example_assign: Example 5: Assigning: "ret" = return value from "client_submit_request(this, &req, frame, conf->fops, GFS3_OP_ACCESS, client3_3_access_cbk, NULL, NULL, 0, NULL, 0, NULL, (xdrproc_t)xdr_gfs3_access_req)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3647:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:506:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:506:
cond_false: Condition "!((exportbuf.st_mode & 61440) == 16384)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:511:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:519:
switch: Switch case value "0".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:538:
switch_case: Reached case "0".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:539:
cond_false: Condition "!((stbuf.st_mode & 61440) == 16384)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:545:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:546:
break: Breaking from switch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:549:
switch_end: Reached end of switch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:551:
check_return: Calling "sys_stat(handle_pfx, &priv->handledir)" without checking return value. It wraps a library function that may fail and return an error code.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:32:9:
return_wrapper: The function wraps and returns the value of "stat(path, buf)". [Note: The source code implementation of the function has been overridden by a builtin model.]
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:268:
check_return: Calling "xmlTextWriterEndElement" without checking return value (as is done elsewhere 116 out of 121 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:94:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterEndElement(writer)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:95:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:181:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterEndElement(glfsh_writer)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:182:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:185:
example_assign: Example 3: Assigning: "ret" = return value from "xmlTextWriterEndElement(glfsh_writer)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:186:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2679:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterEndElement(writer)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2680:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2801:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterEndElement(writer)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2802:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:264:
check_return: Calling "xmlTextWriterStartElement" without checking return value (as is done elsewhere 117 out of 121 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:80:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterStartElement(*writer, (xmlChar *)"cliOutput")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:81:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:299:
example_assign: Example 2: Assigning: "x_ret" = return value from "xmlTextWriterStartElement(glfsh_writer, (xmlChar *)"brick")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:300:
example_checked: Example 2 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:146:
example_assign: Example 3: Assigning: "ret" = return value from "xmlTextWriterStartElement(glfsh_writer, (xmlChar *)"cliOutput")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2735:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterStartElement(*writer, (xmlChar *)"options")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2736:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2762:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterStartElement(writer, (xmlChar *)"option")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2763:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:265:
check_return: Calling "xmlTextWriterWriteFormatAttribute" without checking return value (as is done elsewhere 4 out of 5 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2934:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterWriteFormatAttribute(local->writer, (xmlChar *)"uuid", "%s", uuid)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2937:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3046:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterWriteFormatAttribute(local->writer, (xmlChar *)"uuid", "%s", uuid)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3049:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3098:
example_assign: Example 3: Assigning: "ret" = return value from "xmlTextWriterWriteFormatAttribute(local->writer, (xmlChar *)"uuid", "%s", uuid)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3101:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:301:
example_assign: Example 4: Assigning: "x_ret" = return value from "xmlTextWriterWriteFormatAttribute(glfsh_writer, (xmlChar *)"hostUuid", "%s", (uuid ? uuid : "-"))".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:303:
example_checked: Example 4 (cont.): "x_ret" has its value checked in "x_ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_true: Condition "num_entries == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:225:
check_return: Calling "xmlTextWriterWriteFormatElement" without checking return value (as is done elsewhere 275 out of 309 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10977:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(local->writer, (xmlChar *)"snapCount", "%d", snapcount)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10980:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:118:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"opRet", "%d", op_ret)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:120:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:305:
example_assign: Example 3: Assigning: "x_ret" = return value from "xmlTextWriterWriteFormatElement(glfsh_writer, (xmlChar *)"name", "%s:%s", (remote_host ? remote_host : "-"), (remote_subvol ? remote_subvol : "-"))".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:309:
example_checked: Example 3 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2771:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"defaultValue", "%s", def_val)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2773:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2791:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"name", "%s", name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2793:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_true: Condition "num_entries == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:228:
cond_true: Condition "fmt_str", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:229:
check_return: Calling "xmlTextWriterWriteFormatElement" without checking return value (as is done elsewhere 275 out of 309 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10977:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(local->writer, (xmlChar *)"snapCount", "%d", snapcount)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10980:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:118:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"opRet", "%d", op_ret)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:120:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:305:
example_assign: Example 3: Assigning: "x_ret" = return value from "xmlTextWriterWriteFormatElement(glfsh_writer, (xmlChar *)"name", "%s:%s", (remote_host ? remote_host : "-"), (remote_subvol ? remote_subvol : "-"))".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:309:
example_checked: Example 3 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2771:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"defaultValue", "%s", def_val)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2773:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2791:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"name", "%s", name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2793:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:234:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:234:
cond_true: Condition "ret == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:235:
check_return: Calling "xmlTextWriterWriteFormatElement" without checking return value (as is done elsewhere 275 out of 309 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10977:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(local->writer, (xmlChar *)"snapCount", "%d", snapcount)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10980:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:118:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"opRet", "%d", op_ret)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:120:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:305:
example_assign: Example 3: Assigning: "x_ret" = return value from "xmlTextWriterWriteFormatElement(glfsh_writer, (xmlChar *)"name", "%s:%s", (remote_host ? remote_host : "-"), (remote_subvol ? remote_subvol : "-"))".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:309:
example_checked: Example 3 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2771:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"defaultValue", "%s", def_val)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2773:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2791:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"name", "%s", name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2793:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_false: Condition "num_entries == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:234:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:234:
cond_false: Condition "ret == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:238:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:240:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:241:
cond_true: Condition "fmt_str", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:242:
check_return: Calling "xmlTextWriterWriteFormatElement" without checking return value (as is done elsewhere 275 out of 309 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10977:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(local->writer, (xmlChar *)"snapCount", "%d", snapcount)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10980:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:118:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"opRet", "%d", op_ret)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:120:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:305:
example_assign: Example 3: Assigning: "x_ret" = return value from "xmlTextWriterWriteFormatElement(glfsh_writer, (xmlChar *)"name", "%s:%s", (remote_host ? remote_host : "-"), (remote_subvol ? remote_subvol : "-"))".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:309:
example_checked: Example 3 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2771:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"defaultValue", "%s", def_val)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2773:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2791:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"name", "%s", name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2793:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:224:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:234:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:234:
cond_true: Condition "ret == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:240:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:249:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:250:
cond_true: Condition "fmt_str", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:251:
check_return: Calling "xmlTextWriterWriteFormatElement" without checking return value (as is done elsewhere 275 out of 309 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10977:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(local->writer, (xmlChar *)"snapCount", "%d", snapcount)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:10980:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:118:
example_assign: Example 2: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"opRet", "%d", op_ret)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:120:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:305:
example_assign: Example 3: Assigning: "x_ret" = return value from "xmlTextWriterWriteFormatElement(glfsh_writer, (xmlChar *)"name", "%s:%s", (remote_host ? remote_host : "-"), (remote_subvol ? remote_subvol : "-"))".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:309:
example_checked: Example 3 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2771:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"defaultValue", "%s", def_val)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2773:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2791:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterWriteFormatElement(writer, (xmlChar *)"name", "%s", name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2793:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:137:
cond_false: Condition "glfsh_writer == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:139:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:143:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:143:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:151:
check_return: Calling "xmlTextWriterStartElement" without checking return value (as is done elsewhere 117 out of 121 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:80:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterStartElement(*writer, (xmlChar *)"cliOutput")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:81:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:299:
example_assign: Example 2: Assigning: "x_ret" = return value from "xmlTextWriterStartElement(glfsh_writer, (xmlChar *)"brick")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:300:
example_checked: Example 2 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:146:
example_assign: Example 3: Assigning: "ret" = return value from "xmlTextWriterStartElement(glfsh_writer, (xmlChar *)"cliOutput")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2735:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterStartElement(*writer, (xmlChar *)"options")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2736:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2762:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterStartElement(writer, (xmlChar *)"option")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2763:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:137:
cond_false: Condition "glfsh_writer == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:139:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:143:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:143:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:153:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:153:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:155:
check_return: Calling "xmlTextWriterStartElement" without checking return value (as is done elsewhere 117 out of 121 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:80:
example_assign: Example 1: Assigning: "ret" = return value from "xmlTextWriterStartElement(*writer, (xmlChar *)"cliOutput")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:81:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:299:
example_assign: Example 2: Assigning: "x_ret" = return value from "xmlTextWriterStartElement(glfsh_writer, (xmlChar *)"brick")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:300:
example_checked: Example 2 (cont.): "x_ret" has its value checked in "x_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:146:
example_assign: Example 3: Assigning: "ret" = return value from "xmlTextWriterStartElement(glfsh_writer, (xmlChar *)"cliOutput")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:148:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2735:
example_assign: Example 4: Assigning: "ret" = return value from "xmlTextWriterStartElement(*writer, (xmlChar *)"options")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2736:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2762:
example_assign: Example 5: Assigning: "ret" = return value from "xmlTextWriterStartElement(writer, (xmlChar *)"option")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2763:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1275:
cond_false: Condition "argc < 2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1279:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1282:
switch: Switch case value "2".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1283:
switch_case: Reached case "2".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1285:
break: Breaking from switch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1337:
switch_end: Reached end of switch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1340:
cond_true: Condition "is_xml", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1350:
cond_false: Condition "heal_op == GF_SHD_OP_GRANULAR_ENTRY_HEAL_ENABLE", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1351:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1354:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1355:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1358:
cond_false: Condition "!fs", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1363:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1365:
cond_true: Condition "sys_access("/var/lib/glusterd/secure-access", 0) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1370:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1375:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1378:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1382:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1386:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1391:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1394:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1404:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1407:
cond_false: Condition "!top_subvol", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1420:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1423:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1429:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1431:
check_return: Calling "glfs_loc_touchup" without checking return value (as is done elsewhere 17 out of 19 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:357:
example_assign: Example 1: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:357:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1197:
example_assign: Example 2: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1197:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:528:
example_assign: Example 3: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:528:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:760:
example_assign: Example 4: Assigning: "ret" = return value from "glfs_loc_touchup(&loc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:760:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1641:
example_assign: Example 5: Assigning: "ret" = return value from "glfs_loc_touchup(&oldloc)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:1641:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret != 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/meta/src/meta-helpers.c:24:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/meta/src/meta-helpers.c:26:
check_return: Calling "__fd_ctx_get" without checking return value (as is done elsewhere 17 out of 20 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:3132:
example_assign: Example 1: Assigning: "ret" = return value from "__fd_ctx_get(fd, this, &ctx)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:3134:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:138:
example_assign: Example 2: Assigning: "ret" = return value from "__fd_ctx_get(fd, this, &tmp_val)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:139:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:758:
example_checked: Example 3: "__fd_ctx_get(fd, xl, &value)" has its value checked in "__fd_ctx_get(fd, xl, &value) != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:817:
example_checked: Example 4: "__fd_ctx_get(fd, this, &ctx_int)" has its value checked in "__fd_ctx_get(fd, this, &ctx_int) == 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:424:
example_assign: Example 5: Assigning: "ret" = return value from "__fd_ctx_get(fd, this, &tmp)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:425:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret != 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:1866:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:1869:
cond_true: Condition "priv->health_check_active == _gf_true", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:1870:
check_return: Calling "pthread_cancel" without checking return value (as is done elsewhere 4 out of 5 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:283:
example_assign: Example 1: Assigning: "ret" = return value from "pthread_cancel(base->runner)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:284:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3548:
example_assign: Example 2: Assigning: "ret" = return value from "pthread_cancel(thread)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3549:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-helpers.c:192:
example_assign: Example 3: Assigning: "ret" = return value from "pthread_cancel(thread)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-helpers.c:193:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:42:
example_assign: Example 4: Assigning: "ret" = return value from "pthread_cancel(thr_id)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:43:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret != 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:774:
cond_true: Condition "!ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:775:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:863:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:864:
cond_true: Condition "gf_dump_fd != -1", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:866:
check_return: Calling "sys_rename(tmp_dump_name, path)" without checking return value. It wraps a library function that may fail and return an error code.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:197:9:
return_wrapper: The function wraps and returns the value of "rename(oldpath, newpath)".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:2884:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:2886:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:2890:
check_return: Calling "quota_inode_ctx_get" without checking return value (as is done elsewhere 5 out of 6 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1524:
example_assign: Example 1: Assigning: "ret" = return value from "quota_inode_ctx_get(inode, this, &ctx, '\1')".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1525:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:2040:
example_assign: Example 2: Assigning: "ret" = return value from "quota_inode_ctx_get(inode, this, &ctx, '\1')".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:2041:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:4072:
example_assign: Example 3: Assigning: "op_ret" = return value from "quota_inode_ctx_get(local->loc.inode, this, &ctx, '\1')".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:4073:
example_checked: Example 3 (cont.): "op_ret" has its value checked in "op_ret < 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:3828:
example_assign: Example 4: Assigning: "ret" = return value from "quota_inode_ctx_get(inode, this, &ctx, '\1')".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:3829:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret == -1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:3968:
example_assign: Example 5: Assigning: "ret" = return value from "quota_inode_ctx_get(local->loc.inode, this, &ctx, '\1')".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:3969:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret < 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:189:
cond_false: Condition "ctx == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:193:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:195:
cond_false: Condition "ctx->cleanup_started", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:200:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:202:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:205:
cond_false: Condition "reg", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:208:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:211:
cond_false: Condition "!reg", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:214:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:216:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:219:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/timer.c:220:
check_return: Calling "gf_thread_create" without checking return value (as is done elsewhere 33 out of 34 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:982:
example_assign: Example 1: Assigning: "ret" = return value from "gf_thread_create(&fs->poller, NULL, glfs_poller, fs)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:983:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3607:
example_assign: Example 2: Assigning: "ret" = return value from "gf_thread_create(thread, &attr, start_routine, arg)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3608:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:827:
example_assign: Example 3: Assigning: "ret" = return value from "gf_thread_create(&newenv->proc[i].processor, NULL, syncenv_processor, &newenv->proc[i])".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:829:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/throttle-tbf.c:152:
example_assign: Example 4: Assigning: "ret" = return value from "gf_thread_create(&curr->tokener, NULL, tbf_tokengenerator, curr)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/throttle-tbf.c:154:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret != 0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4595:
example_assign: Example 5: Assigning: "ret" = return value from "gf_thread_create(&rdma_ctx->rdma_cm_thread, NULL, gf_rdma_cm_event_handler, rdma_ctx->rdma_cm_event_channel)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4598:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret != 0".
Error: CHECKED_RETURN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3216:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3217:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3220:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3221:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3240:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3241:
check_return: Calling "gf_store_iter_destroy" without checking return value (as is done elsewhere 6 out of 7 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2533:
example_assign: Example 1: Assigning: "ret" = return value from "gf_store_iter_destroy(iter)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2535:
example_checked: Example 1 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2355:
example_assign: Example 2: Assigning: "ret" = return value from "gf_store_iter_destroy(iter)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2356:
example_checked: Example 2 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3046:
example_assign: Example 3: Assigning: "ret" = return value from "gf_store_iter_destroy(iter)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3047:
example_checked: Example 3 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2736:
example_assign: Example 4: Assigning: "ret" = return value from "gf_store_iter_destroy(iter)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:2738:
example_checked: Example 4 (cont.): "ret" has its value checked in "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3673:
example_assign: Example 5: Assigning: "ret" = return value from "gf_store_iter_destroy(iter)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:3674:
example_checked: Example 5 (cont.): "ret" has its value checked in "ret".
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
pointless_string_compare: "strcmp("all", "all")" is always 0 because ""all"" is compared against itself.
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1384:
result_independent_of_operands: "l <= 9223372036854775807L" is always true regardless of the values of its operands. This occurs as the logical operand of "if".
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:189:
always_true_or: The "or" condition "op_errno != 2 || op_errno != 116" will always be true because "op_errno" cannot be equal to two different values at the same time, so it must be not equal to at least one of them.
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:3683:
result_independent_of_operands: "(local->op_ret < 0) ? -1 : (1 /* 0 == 0 */)" is always true regardless of the values of its operands. This occurs as the logical operand of "if".
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2294:
result_independent_of_operands: "size > 18446744073709551615UL /* 9223372036854775807L * 2UL + 1UL */" is always false regardless of the values of its operands. This occurs as the logical second operand of "||".
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:879:
result_independent_of_operands: "trav->dict.dict_len > 4294967295U /* 2147483647 * 2U + 1U */" is always false regardless of the values of its operands. This occurs as the logical operand of "if".
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-helper.h:637:
logical_vs_bitwise: The expression "fop_path == GFDB_FOP_UNDEL || GFDB_FOP_UNDEL_ALL" is suspicious because it performs a Boolean operation on a constant other than 0 or 1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-helper.h:637:
remediation: Did you intend to also compare "fop_path" to "GFDB_FOP_UNDEL_ALL"?
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2017:
always_true_or: The "or" condition "op_errno != 28 || op_errno != 107" will always be true because "op_errno" cannot be equal to two different values at the same time, so it must be not equal to at least one of them.
Error: CONSTANT_EXPRESSION_RESULT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:788:
result_independent_of_operands: "rsp->dict.dict_len > 4294967295U /* 2147483647 * 2U + 1U */" is always false regardless of the values of its operands. This occurs as the logical operand of "if".
Error: COPY_PASTE_ERROR:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:2777:
original: "ret = -1" looks like the original copy.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:2766:
copy_paste_error: "ret" in "ret = -1" looks like a copy-paste error.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:2766:
remediation: Should it say "err" instead?
Error: COPY_PASTE_ERROR:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:1085:
original: "head->total_size" looks like the original copy.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:1088:
copy_paste_error: "head" in "head->total_size" looks like a copy-paste error.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:1088:
remediation: Should it say "req" instead?
Error: COPY_PASTE_ERROR:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/read-only/src/worm.c:327:
original: "stbuf->ia_atime" looks like the original copy.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/read-only/src/worm.c:319:
copy_paste_error: "ia_atime" in "stbuf->ia_atime" looks like a copy-paste error.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/read-only/src/worm.c:319:
remediation: Should it say "ia_mtime" instead?
Error: COPY_PASTE_ERROR:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/read-only/src/worm.c:247:
original: "stbuf->ia_atime" looks like the original copy.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/read-only/src/worm.c:239:
copy_paste_error: "ia_atime" in "stbuf->ia_atime" looks like a copy-paste error.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/read-only/src/worm.c:239:
remediation: Should it say "ia_mtime" instead?
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1370:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1370:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3928:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3928:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:94:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:94:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:99:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:99:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:106:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:106:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:731:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:731:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:736:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:736:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.STREAM_BUFFER:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:743:
dont_call: "fscanf" assumes an arbitrarily large string, so callers must use correct precision specifiers or never use "fscanf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:743:
remediation: Use correct precision specifiers or do your own parsing.
Error: DC.WEAK_CRYPTO:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:449:
dont_call: "random" should not be used for security related applications, as linear congruential algorithms are too easy to break.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:449:
remediation: Use a compliant random number generator, such as "/dev/random" or "/dev/urandom" on Unix-like systems, and "CryptGenRandom" on Windows.
Error: DC.WEAK_CRYPTO:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:182:
dont_call: "rand" should not be used for security related applications, as linear congruential algorithms are too easy to break.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:182:
remediation: Use a compliant random number generator, such as "/dev/random" or "/dev/urandom" on Unix-like systems, and "CryptGenRandom" on Windows.
Error: DC.WEAK_CRYPTO:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:372:
dont_call: "rand" should not be used for security related applications, as linear congruential algorithms are too easy to break.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:372:
remediation: Use a compliant random number generator, such as "/dev/random" or "/dev/urandom" on Unix-like systems, and "CryptGenRandom" on Windows.
Error: DC.WEAK_CRYPTO:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:1125:
dont_call: "random" should not be used for security related applications, as linear congruential algorithms are too easy to break.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:1125:
remediation: Use a compliant random number generator, such as "/dev/random" or "/dev/urandom" on Unix-like systems, and "CryptGenRandom" on Windows.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:163:
assignment: Assigning: "local" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:184:
null: At condition "local", the value of "local" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:184:
dead_error_condition: The condition "local" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:185:
dead_error_line: Execution cannot reach this statement: "mem_put(local);".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:185:
effectively_constant: Local variable "local" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "local" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2493:
notnull: At condition "ptr1", the value of "ptr1" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2493:
dead_error_condition: The condition "!ptr1" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2494:
dead_error_line: Execution cannot reach this statement: "goto out;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2495:
notnull: At condition "ptr2", the value of "ptr2" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2495:
dead_error_condition: The condition "!ptr2" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:2496:
dead_error_line: Execution cannot reach this statement: "goto out;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-server/src/snapview-server.c:28:
assignment: Assigning: "inode_ctx" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-server/src/snapview-server.c:65:
null: At condition "inode_ctx", the value of "inode_ctx" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-server/src/snapview-server.c:65:
dead_error_condition: The condition "inode_ctx" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-server/src/snapview-server.c:66:
dead_error_begin: Execution cannot reach this statement: "memcpy(buf, &inode_ctx->buf...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:6635:
assignment: Assigning: "snap" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:6674:
null: At condition "snap", the value of "snap" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:6674:
dead_error_condition: The condition "snap" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:6675:
dead_error_line: Execution cannot reach this statement: "glusterd_snap_remove(rsp_di...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:7314:
notnull: At condition "token", the value of "token" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:7314:
dead_error_condition: The condition "!token" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:7315:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1018:
cond_at_least: Condition "wordcount < 4", taking false branch. Now the value of "wordcount" is at least 4.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1209:
at_least: At condition "wordcount < 4", the value of "wordcount" must be at least 4.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1209:
dead_error_condition: The condition "wordcount < 4" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1210:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:494:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:522:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:522:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:522:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:206:
assignment: Assigning: "op_errno" = "0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:236:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:236:
dead_error_condition: The condition "op_errno == -1" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:236:
dead_error_line: Execution cannot reach the expression "*__errno_location()" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:33:
assignment: Assigning: "op_errno" = "0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:44:
assignment: Assigning: "op_errno" = "12".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:57:
assignment: Assigning: "op_errno" = "12".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:81:
intervals: At condition "op_errno == -1", the value of "op_errno" must be in one of the following intervals: {[0,0], [12,12]}.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:81:
dead_error_condition: The condition "op_errno == -1" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:81:
dead_error_line: Execution cannot reach the expression "*__errno_location()" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:157:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:186:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:186:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:186:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:392:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:422:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:422:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:422:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:339:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:368:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:368:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:368:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:289:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:318:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:318:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:318:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:444:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:473:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:473:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:473:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:104:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:133:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:133:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:133:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:848:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:877:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:877:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:877:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:546:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:575:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:575:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:575:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:797:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:826:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:826:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:826:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:746:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:775:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:775:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:775:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:896:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:925:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:925:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:925:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:695:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:724:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:724:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:724:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:597:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:624:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:624:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:624:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:645:
assignment: Assigning: "op_errno" = "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:674:
const: At condition "op_errno == -1", the value of "op_errno" must be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:674:
dead_error_condition: The condition "op_errno == -1" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:674:
dead_error_line: Execution cannot reach the expression "op_errno" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:976:
assignment: Assigning: "op_errno" = "0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1025:
const: At condition "op_errno", the value of "op_errno" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1025:
dead_error_condition: The condition "op_errno" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1026:
dead_error_line: Execution cannot reach this statement: "rsp.op_errno = gf_errno_to_...".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1026:
effectively_constant: Local variable "op_errno" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "op_errno" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:191:
assignment: Assigning: "local" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:216:
null: At condition "local", the value of "local" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:216:
dead_error_condition: The condition "local" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:217:
dead_error_line: Execution cannot reach this statement: "mem_put(local);".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:217:
effectively_constant: Local variable "local" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "local" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:3611:
assignment: Assigning: "xml_err_flag" = "_gf_false".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:3655:
const: At condition "xml_err_flag", the value of "xml_err_flag" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:3655:
dead_error_condition: The condition "xml_err_flag" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:3656:
dead_error_begin: Execution cannot reach this statement: "ret = cli_xml_output_str("v...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2730:
assignment: Assigning: "dict" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2966:
null: At condition "dict", the value of "dict" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2966:
dead_error_condition: The condition "dict" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2967:
dead_error_line: Execution cannot reach this statement: "dict_unref(dict);".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2967:
effectively_constant: Local variable "dict" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "dict" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4201:
assignment: Assigning: "op_errno" = "107".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4214:
assignment: Assigning: "op_errno" = "107".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4233:
assignment: Assigning: "op_errno" = "107".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4058:
assignment: Assigning: "op_errno" = "12".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4130:
assignment: Assigning: "op_errno" = "17".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4053:
assignment: Assigning: "op_errno" = "1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4032:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4067:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4075:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4100:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4112:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4123:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4162:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4085:
assignment: Assigning: "op_errno" = "95".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4171:
assignment: Assigning: "op_errno" = "95".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4241:
assignment: Assigning: "op_errno" = "95".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4281:
intervals: At condition "op_errno == -1", the value of "op_errno" must be in one of the following intervals: {[1,1], [12,12], [17,17], [22,22], [95,95], [107,107]}.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4281:
dead_error_condition: The condition "op_errno == -1" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4281:
dead_error_line: Execution cannot reach the expression "*__errno_location()" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7458:
assignment: Assigning: "stub" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7489:
cond_null: Condition "stub == NULL", taking true branch. Now the value of "stub" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7553:
null: At condition "stub", the value of "stub" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7553:
dead_error_condition: The condition "stub" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7554:
dead_error_line: Execution cannot reach this statement: "call_stub_destroy(stub);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3812:
assignment: Assigning: "op_errno" = "12".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3807:
assignment: Assigning: "op_errno" = "1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3791:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3820:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3828:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3869:
intervals: At condition "op_errno == -1", the value of "op_errno" must be in one of the following intervals: {[1,1], [12,12], [22,22]}.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3869:
dead_error_condition: The condition "op_errno == -1" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3869:
dead_error_line: Execution cannot reach the expression "*__errno_location()" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8833:
assignment: Assigning: "op_errno" = "12".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8817:
assignment: Assigning: "op_errno" = "22".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8853:
intervals: At condition "op_errno == -1", the value of "op_errno" must be in one of the following intervals: {[12,12], [22,22]}.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8853:
dead_error_condition: The condition "op_errno == -1" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8853:
dead_error_line: Execution cannot reach the expression "*__errno_location()" inside this statement: "op_errno = ((op_errno == -1...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-transaction.c:1191:
assignment: Assigning: "xdata2" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-transaction.c:1272:
assignment: Assigning: "xdata2" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-transaction.c:1255:
cond_null: Condition "xdata2", taking false branch. Now the value of "xdata2" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-transaction.c:1276:
null: At condition "xdata2", the value of "xdata2" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-transaction.c:1276:
dead_error_condition: The condition "xdata2" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-transaction.c:1277:
dead_error_line: Execution cannot reach this statement: "dict_unref(xdata2);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:1380:
assignment: Assigning: "dict" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:1426:
null: At condition "dict", the value of "dict" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:1426:
dead_error_condition: The condition "dict" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:1427:
dead_error_line: Execution cannot reach this statement: "dict_unref(dict);".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:1427:
effectively_constant: Local variable "dict" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "dict" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4833:
assignment: Assigning: "ret" = "0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4850:
const: At condition "ret", the value of "ret" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4850:
dead_error_condition: The condition "ret" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4851:
dead_error_line: Execution cannot reach this statement: "goto out;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:11250:
assignment: Assigning: "dict" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:11278:
null: At condition "dict", the value of "dict" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:11278:
dead_error_condition: The condition "dict" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:11279:
dead_error_line: Execution cannot reach this statement: "dict_unref(dict);".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:11279:
effectively_constant: Local variable "dict" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "dict" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1394:
assignment: Assigning: "new_local" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1411:
cond_null: Condition "new_local == NULL", taking true branch. Now the value of "new_local" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1434:
null: At condition "new_local", the value of "new_local" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1434:
dead_error_condition: The condition "new_local" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:1435:
dead_error_line: Execution cannot reach this statement: "quota_local_cleanup(new_loc...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:96:
assignment: Assigning: "xdata" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:159:
null: At condition "xdata", the value of "xdata" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:159:
dead_error_condition: The condition "xdata" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:160:
dead_error_line: Execution cannot reach this statement: "dict_unref(xdata);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:628:
assignment: Assigning: "volname" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:704:
null: At condition "volname", the value of "volname" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:704:
dead_error_condition: The condition "volname" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:705:
dead_error_line: Execution cannot reach this statement: "ret = gf_asprintf(op_errstr...".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-mgmt.c:705:
effectively_constant: Local variable "volname" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "volname" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-volume.c:1752:
arith_non_null: The result of pointer arithmetic "cli_rpc_prog->proctable + GLUSTER_CLI_BITROT" is never null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-volume.c:1752:
assignment: Assigning: "proc" = "cli_rpc_prog->proctable + GLUSTER_CLI_BITROT".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-volume.c:1753:
notnull: At condition "proc == NULL", the value of "proc" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-volume.c:1753:
dead_error_condition: The condition "proc == NULL" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-volume.c:1754:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-fops.c:1190:
assignment: Assigning: "frame" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-fops.c:1260:
null: At condition "frame", the value of "frame" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-fops.c:1260:
dead_error_condition: The condition "frame" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-fops.c:1261:
dead_error_line: Execution cannot reach this statement: "STACK_DESTROY(frame->root);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1637:
cond_at_least: Condition "ret < 0", taking false branch. Now the value of "ret" is at least 1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1639:
at_least: At condition "ret == 0", the value of "ret" must be at least 1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1653:
cond_cannot_single: Condition "ret", taking true branch. Now the value of "ret" cannot be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1635:
cond_cannot_single: Condition "ret = syncop_readdir(child->xl, fd, 131072UL, offset, &entries, NULL, NULL)", taking true branch. Now the value of "ret" cannot be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1639:
cannot_single: At condition "ret == 0", the value of "ret" cannot be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1639:
dead_error_condition: The condition "ret == 0" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1640:
dead_error_line: Execution cannot reach this statement: "break;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:544:
assignment: Assigning: "weight" = "4294967295U".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:594:
const: At condition "weight == 0U", the value of "weight" must be equal to 4294967295.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:594:
dead_error_condition: The condition "weight == 0U" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:597:
dead_error_line: Execution cannot reach this statement: "fd_ctx_set(fd, this, 1UL);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:1021:
assignment: Assigning: "listener" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:1246:
null: At condition "listener != NULL", the value of "listener" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:1246:
dead_error_condition: The condition "listener != NULL" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:1247:
dead_error_line: Execution cannot reach this statement: "rpcsvc_listener_destroy(lis...".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:1247:
effectively_constant: Local variable "listener" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "listener" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5087:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5119:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5158:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5158:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5159:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5598:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5644:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5632:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5675:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5675:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5676:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5698:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5739:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5775:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5775:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5776:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4368:
arith_non_null: The result of pointer arithmetic "(char *)peerinfo->hostnames.next - 8UL" is never null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4368:
assignment: Assigning: "address" = "(glusterd_peer_hostname_t *)((char *)peerinfo->hostnames.next - 8UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4371:
notnull: At condition "address", the value of "address" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4371:
dead_error_condition: The condition "!address" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4372:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:9891:
cond_notnull: Condition "aggr", taking true branch. Now the value of "aggr" is not "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:9892:
assignment: Assigning: "ctx_dict" = "aggr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:9901:
notnull: At condition "ctx_dict", the value of "ctx_dict" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:9901:
dead_error_condition: The condition "!ctx_dict" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:9902:
dead_error_line: Execution cannot reach this statement: "goto out;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2389:
assignment: Assigning: "cr_cond_init" = "_gf_false".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2481:
const: At condition "cr_cond_init", the value of "cr_cond_init" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2481:
dead_error_condition: The condition "cr_cond_init" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2482:
dead_error_line: Execution cannot reach this statement: "pthread_cond_destroy(&priv-...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1556:
arith_non_null: The result of pointer arithmetic "(char *)svc->programs.next - 104UL" is never null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1556:
assignment: Assigning: "prog" = "(rpcsvc_program_t *)((char *)svc->programs.next - 104UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1565:
notnull: At condition "prog == NULL", the value of "prog" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1565:
dead_error_condition: The condition "prog == NULL" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1566:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:484:
cond_at_least: Condition "encoding > CHANGELOG_ENCODE_MIN", taking true branch. Now the value of "encoding" is at least 1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:484:
cond_between: Condition "encoding < CHANGELOG_ENCODE_MAX", taking true branch. Now the value of "encoding" is between 1 and 2.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:506:
between: When switching on "encoding", the value of "encoding" must be between 1 and 2.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:475:
cond_cannot_single: Condition "encoding == -1", taking false branch. Now the value of "encoding" cannot be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:506:
cannot_single: When switching on "encoding", the value of "encoding" cannot be equal to -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:506:
dead_error_condition: The switch value "encoding" cannot reach the default case.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c:522:
dead_error_begin: Execution cannot reach this statement: "default:".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4779:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4804:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4843:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4843:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4844:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4870:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4915:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4902:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4961:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4961:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4962:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3402:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3437:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3483:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3483:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:3484:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1293:
assignment: Assigning: "heal_op" = "GF_SHD_OP_GRANULAR_ENTRY_HEAL_ENABLE".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1284:
assignment: Assigning: "heal_op" = "GF_SHD_OP_INDEX_SUMMARY".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1290:
assignment: Assigning: "heal_op" = "GF_SHD_OP_INDEX_SUMMARY".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1306:
assignment: Assigning: "heal_op" = "GF_SHD_OP_SBRAIN_HEAL_FROM_BIGGER_FILE".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1312:
assignment: Assigning: "heal_op" = "GF_SHD_OP_SBRAIN_HEAL_FROM_BRICK".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1323:
assignment: Assigning: "heal_op" = "GF_SHD_OP_SBRAIN_HEAL_FROM_BRICK".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1309:
assignment: Assigning: "heal_op" = "GF_SHD_OP_SBRAIN_HEAL_FROM_LATEST_MTIME".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1288:
assignment: Assigning: "heal_op" = "GF_SHD_OP_SPLIT_BRAIN_FILES".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1303:
assignment: Assigning: "heal_op" = "GF_SHD_OP_SPLIT_BRAIN_FILES".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1433:
intervals: When switching on "heal_op", the value of "heal_op" must be in one of the following intervals: {[3,3], [6,6], [10,11], [14,15]}.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1433:
dead_error_condition: The switch value "heal_op" cannot reach the default case.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/heal/src/glfs-heal.c:1449:
dead_error_begin: Execution cannot reach this statement: "default:".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:775:
assignment: Assigning: "next_offset" = "0L".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:811:
const: At condition "next_offset != 0L", the value of "next_offset" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:811:
dead_error_condition: The condition "next_offset != 0L" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:812:
dead_error_line: Execution cannot reach this statement: "next_subvol = prev;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:38:
cond_at_least: Condition "idx < 256UL", taking false branch. Now the value of "idx" is at least 256.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:41:
cond_at_least: Condition "idx < 16384UL", taking false branch. Now the value of "idx" is at least 16384.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:44:
cond_at_least: Condition "idx < 1048576UL", taking false branch. Now the value of "idx" is at least 1048576.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:47:
cond_at_least: Condition "idx < 67108864UL", taking false branch. Now the value of "idx" is at least 67108864.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:50:
at_least: At condition "idx < 0UL", the value of "idx" must be at least 67108864.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:50:
dead_error_condition: The condition "idx < 0UL" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:51:
dead_error_line: Execution cannot reach this statement: "vec = &base->tv1.vec[base->...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2017:
cond_const: Condition "op_errno != 28", taking false branch. Now the value of "op_errno" is equal to 28.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2017:
const: At condition "op_errno != 107", the value of "op_errno" must be equal to 28.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2017:
dead_error_condition: The condition "op_errno != 107" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:2020:
dead_error_line: Execution cannot reach this statement: "if (op_errno == 107) {
  de...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:822:
assignment: Assigning: "cookie" = "0".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:950:
const: At condition "cookie", the value of "cookie" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:950:
dead_error_condition: The condition "cookie" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:951:
dead_error_line: Execution cannot reach this statement: "rsp.op_errno = cookie;".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:951:
effectively_constant: Local variable "cookie" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "cookie" not remain constant.
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1616:
cond_at_most: Condition "ret < 0", taking true branch. Now the value of "ret" is at most -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1620:
cond_at_most: Condition "ret < 0", taking true branch. Now the value of "ret" is at most -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1658:
at_most: At condition "ret < 0", the value of "ret" must be at most -1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1658:
dead_error_condition: The condition "ret < 0" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:1658:
dead_error_line: Execution cannot reach the expression "prev_dirty" inside this statement: "if (ret < 0 || prev_dirty) ...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1072:
assignment: Assigning: "add_section" = "_gf_true".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1088:
const: At condition "add_section == _gf_false", the value of "add_section" must be equal to 1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1088:
dead_error_condition: The condition "add_section == _gf_false" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1089:
dead_error_line: Execution cannot reach this statement: "gf_proc_dump_add_section(ke...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:390:
assignment: Assigning: "client" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:817:
null: At condition "client != NULL", the value of "client" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:817:
dead_error_condition: The condition "client != NULL" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:824:
dead_error_begin: Execution cannot reach this statement: "gf_client_put(client, NULL);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:786:
assignment: Assigning: "from" = "0UL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:979:
const: At condition "from", the value of "from" must be equal to 0.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:979:
dead_error_condition: The condition "!from" must be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:979:
dead_error_line: Execution cannot reach the expression "to" inside this statement: "if (!from || !to)
  ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:4988:
assignment: Assigning: "rsp_iobuf" = "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5015:
cond_null: Condition "rsp_iobuf == NULL", taking true branch. Now the value of "rsp_iobuf" is "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5062:
null: At condition "rsp_iobuf", the value of "rsp_iobuf" must be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5062:
dead_error_condition: The condition "rsp_iobuf" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:5063:
dead_error_line: Execution cannot reach this statement: "iobuf_unref(rsp_iobuf);".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:192:
assignment: Assigning: "section_added" = "_gf_true".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:218:
const: At condition "_gf_false == section_added", the value of "section_added" must be equal to 1.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:218:
dead_error_condition: The condition "_gf_false == section_added" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:219:
dead_error_line: Execution cannot reach this statement: "gf_proc_dump_add_section("g...".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.c:594:
arith_non_null: The result of pointer arithmetic "(char *)&friend->hostnames - 8UL" is never null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.c:594:
assignment: Assigning: "address" = "(glusterd_peer_hostname_t *)((char *)&friend->hostnames - 8UL)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.c:596:
notnull: At condition "address", the value of "address" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.c:596:
dead_error_condition: The condition "!address" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.c:597:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: DEADCODE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:37:
arith_non_null: The result of pointer arithmetic "cli_rpc_prog->proctable + GLUSTER_CLI_SNAP" is never null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:37:
assignment: Assigning: "proc" = "cli_rpc_prog->proctable + GLUSTER_CLI_SNAP".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:38:
notnull: At condition "proc == NULL", the value of "proc" cannot be "NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:38:
dead_error_condition: The condition "proc == NULL" cannot be true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:39:
dead_error_begin: Execution cannot reach this statement: "ret = -1;".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:870:
assign_zero: Assigning: "this" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:873:
cond_false: Condition "!req", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:873:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:876:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:879:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:950:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:951:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:952:
cond_true: Condition "op_errstr[0] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:955:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:157:
assign_zero: Assigning: "cbk" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:166:
cond_true: Condition "type == 2", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:168:
cond_false: Condition "fd == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:170:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:173:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:176:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:178:
cond_true: Condition "fd != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:180:
var_deref_model: Passing null pointer "cbk" to "ec_finodelk", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:845:5:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:845:5:
cond_false: Condition "this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:845:5:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:908:1:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:909:5:
cond_false: Condition "fop != NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:911:12:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:912:9:
deref_parm: Directly dereferencing parameter "func".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:157:
assign_zero: Assigning: "cbk" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:166:
cond_true: Condition "type == 2", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:168:
cond_true: Condition "fd == NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:170:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:172:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:173:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:176:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:178:
cond_false: Condition "fd != NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:186:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:187:
var_deref_model: Passing null pointer "cbk" to "ec_inodelk", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:708:5:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:708:5:
cond_false: Condition "this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:708:5:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:767:1:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:768:5:
cond_false: Condition "fop != NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:770:12:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:771:9:
deref_parm: Directly dereferencing parameter "func".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3338:
assign_zero: Assigning: "ip" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3353:
cond_false: Condition "ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3357:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3359:
cond_true: Condition "res != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3360:
no_write_call: Although "get_ip_from_addrinfo" does overwrite "ip" on some paths, it also contains at least one feasible path which does not overwrite it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3363:
cond_false: Condition "gf_is_loopback_localhost(res->ai_addr, hostname)", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3363:
var_deref_model: Passing null pointer "ip" to "gf_interface_search", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3201:9:
cond_false: Condition "ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3205:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3207:9:
cond_true: Condition "ifa != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3208:17:
cond_true: Condition "!ifa->ifa_addr", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3214:25:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3250:9:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3207:9:
cond_true: Condition "ifa != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3208:17:
cond_false: Condition "!ifa->ifa_addr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3215:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3218:17:
cond_true: Condition "family != 2", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3218:17:
cond_false: Condition "family != 10", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3219:25:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3221:17:
cond_false: Condition "family == 2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3226:17:
cond_false: Condition "ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3231:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3240:17:
cond_true: Condition "pct", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:3244:17:
deref_parm_in_call: Function "strncmp" dereferences "ip".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4636:
assign_zero: Assigning: "svc" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4642:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4642:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4645:
cond_true: Condition "!priv", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4650:
cond_false: Condition "strcmp(server, priv->shd_svc.name) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4652:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4652:
cond_false: Condition "strcmp(server, priv->nfs_svc.name) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4654:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4654:
cond_false: Condition "strcmp(server, priv->quotad_svc.name) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4656:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4656:
cond_false: Condition "strcmp(server, priv->bitd_svc.name) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4658:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4658:
cond_false: Condition "strcmp(server, priv->scrub_svc.name) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4659:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:4662:
var_deref_op: Dereferencing null pointer "svc".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7375:
assign_zero: Assigning: "tmpptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7382:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7382:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7385:
cond_true: Condition "!priv", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7387:
cond_false: Condition "0 == option_cnt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7387:
cond_true: Condition "option_cnt == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7387:
cond_false: Condition "!strcmp(options, "nfs ")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7391:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7394:
cond_false: Condition "!fp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7397:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7403:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" "[1] - (size_t)(void const *)" " == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7403:
cond_true: Condition "(char const *)" "[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7403:
cond_true: Condition "(char const *)" "[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7403:
var_deref_model: Passing "&tmpptr" to "__strtok_r_1c", which dereferences null "tmpptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:758:
cond_false: Condition "__fd_ctx_get(fd, xl, &value) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:758:
cond_true: Condition "value == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:761:
cond_false: Condition "ctx != NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:772:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:761:
var_compare_op: Comparing "ctx" to null implies that "ctx" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:773:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:777:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:780:
cond_true: Condition "fd->anonymous", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.c:782:
var_deref_op: Dereferencing null pointer "ctx".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1652:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1656:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1656:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1708:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "op_errno != frame->root->error", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
cond_true: Condition "frame->this->ctx->measure_latency", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1709:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4234:
cond_true: Condition "!local", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4234:
var_compare_op: Comparing "local" to null implies that "local" might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4235:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:676:
assign_zero: Assigning: "inode" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:681:
cond_true: Condition "local->fd", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:681:
cond_false: Condition "local->fd->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:683:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:683:
cond_false: Condition "local->loc.inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:684:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:686:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:693:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:695:
cond_false: Condition "shard_modify_size_and_block_count(&local->postbuf, dict)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:699:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:701:
cond_true: Condition "local->fop == GF_FOP_FTRUNCATE", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:702:
var_deref_model: Passing null pointer "inode" to "shard_inode_ctx_set", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:170:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:170:9:
deref_parm_field_in_call: Function "pthread_spin_lock" dereferences an offset off "inode".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:157:
assign_zero: Assigning: "strtokptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:159:
cond_false: Condition "eliminate == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:162:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
var_deref_model: Passing "&strtokptr" to "__strtok_r_1c", which dereferences null "strtokptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:332:
cond_true: Condition "frame == NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:332:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:333:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:333:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:336:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:395:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:396:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3162:
assign_zero: Assigning: "savPtr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3169:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"("[1] - (size_t)(void const *)"(" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3169:
cond_true: Condition "(char const *)"("[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3169:
cond_true: Condition "(char const *)"("[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c:3169:
var_deref_model: Passing "&savPtr" to "__strtok_r_1c", which dereferences null "savPtr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5511:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5511:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5512:
cond_false: Condition "!op_errno", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5512:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5514:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5514:
cond_true: Condition "!op_errstr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5514:
var_compare_op: Comparing "op_errstr" to null implies that "op_errstr" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5517:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5591:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5593:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5593:
cond_true: Condition "err_str[0] != 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot.c:5596:
var_deref_op: Dereferencing null pointer "op_errstr".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4015:
assign_zero: Assigning: "this" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4021:
cond_true: Condition "!peerinfo", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4023:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4058:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4059:
cond_false: Condition "peerinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4062:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4063:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5780:
assign_zero: Assigning: "save_ptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5787:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5791:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5799:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5801:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5801:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5801:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-geo-rep.c:5801:
var_deref_model: Passing "&save_ptr" to "__strtok_r_1c", which dereferences null "save_ptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2062:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2062:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2063:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2122:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2123:
cond_true: Condition "_gf_true == is_alloc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2123:
cond_false: Condition "req.buf.buf_val", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2124:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2126:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
cond_true: Condition "!dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
cond_false: Condition "!peerinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1739:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1741:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
cond_true: Condition "!dict", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1738:
cond_true: Condition "!peerinfo", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1739:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1768:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-handshake.c:1769:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:175:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:181:
cond_true: Condition "!frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:181:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:227:
label: Reached label "err".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:228:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:238:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:242:
cond_true: Condition "!frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:242:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:303:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-selfheal.c:304:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2702:
assign_zero: Assigning: "save_ptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2706:
cond_false: Condition "!words", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2706:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2707:
cond_true: Condition "!options", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2710:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2711:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2724:
cond_false: Condition "wordcount < 3", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2725:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2727:
cond_true: Condition "i <= 3", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2727:
cond_true: Condition "i < wordcount - 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2728:
cond_true: Condition "gsyncd_glob_check(words[i])", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2730:
cond_true: Condition "gsyncd_url_check(words[i])", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2732:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2734:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2736:
cond_true: Condition "glob", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2736:
cond_false: Condition "!slavei", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2746:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2747:
cond_true: Condition "slavei", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2749:
cond_false: Condition "slavei == 3", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2750:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2751:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2768:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2775:
cond_false: Condition "masteri", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2776:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2777:
cond_true: Condition "slavei", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2777:
cond_false: Condition "!glob", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2778:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2781:
cond_false: Condition "!w", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2782:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2784:
cond_false: Condition "strcmp(w, "create") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2789:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2789:
cond_false: Condition "strcmp(w, "status") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2794:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2794:
cond_true: Condition "strcmp(w, "config") == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2797:
cond_false: Condition "!slavei", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2798:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2799:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2825:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2828:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2829:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2831:
cond_false: Condition "strtail("detail", (char *)words[wordcount - 1])", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2841:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2843:
cond_false: Condition "type == GF_GSYNC_OPTION_TYPE_DELETE", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2853:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2855:
cond_false: Condition "type != GF_GSYNC_OPTION_TYPE_CONFIG", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2857:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2863:
cond_false: Condition "masteri", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2868:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2869:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2869:
cond_true: Condition "slavei", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2875:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"@"[1] - (size_t)(void const *)"@" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2875:
cond_true: Condition "(char const *)"@"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2875:
cond_true: Condition "(char const *)"@"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:2875:
var_deref_model: Passing "&save_ptr" to "__strtok_r_1c", which dereferences null "save_ptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:954:
cond_true: Condition "!child", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:954:
var_compare_op: Comparing "child" to null implies that "child" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:955:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:979:
label: Reached label "err".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:980:
var_deref_model: Passing null pointer "child" to "loc_wipe", which dereferences it.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.c:765:9:
deref_parm: Directly dereferencing parameter "loc".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:259:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:263:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:263:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:264:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:264:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:288:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:290:
cond_true: Condition "this_call_cnt == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:291:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:291:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:291:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:291:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4960:
cond_false: Condition "local->fd", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4960:
var_compare_op: Comparing "local->fd" to null implies that "local->fd" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4963:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4963:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4967:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4968:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4970:
cond_true: Condition "!local->layout", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:4971:
var_deref_op: Dereferencing null pointer "local->fd".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8050:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8054:
cond_true: Condition "!this->private", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8054:
cond_true: Condition "this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8054:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8083:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8086:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8086:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8086:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:8086:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2358:
cond_true: Condition "!priv", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2358:
var_compare_op: Comparing "priv" to null implies that "priv" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2362:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2393:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2394:
cond_true: Condition "ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2395:
var_deref_op: Dereferencing null pointer "priv".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7449:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7460:
cond_true: Condition "!this->private", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7460:
cond_true: Condition "this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7460:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7547:
label: Reached label "err".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7548:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4327:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4327:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4329:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4342:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4343:
cond_true: Condition "ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4350:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3011:
assign_zero: Assigning: "saveptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3015:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3015:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3016:
cond_false: Condition "!frame->local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3016:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3022:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3025:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3032:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3036:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3043:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3045:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" "[1] - (size_t)(void const *)" " == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3045:
cond_true: Condition "(char const *)" "[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3045:
cond_true: Condition "(char const *)" "[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3045:
var_deref_model: Passing "&saveptr" to "__strtok_r_1c", which dereferences null "saveptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3237:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3240:
cond_true: Condition "!frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3240:
cond_true: Condition "this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3240:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3277:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3278:
cond_true: Condition "this_call_cnt == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:3282:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:166:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:169:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:172:
cond_false: Condition "!newval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:175:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:178:
cond_false: Condition "!tok", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:181:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:183:
cond_true: Condition "tok", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:185:
cond_false: Condition "i == 2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:186:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:188:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:183:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:183:
cond_false: Condition "tok", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:188:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:183:
var_compare_op: Comparing "tok" to null implies that "tok" might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:190:
var_deref_model: Passing null pointer "tok" to "gf_strdup", which dereferences it.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:185:9:
deref_parm_in_call: Function "strlen" dereferences "src".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4864:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4864:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4867:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4900:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4901:
cond_true: Condition "ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4903:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:54:
cond_false: Condition "local->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:78:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:80:
cond_false: Condition "local->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:87:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:80:
var_compare_op: Comparing "local->inode" to null implies that "local->inode" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:94:
cond_true: Condition "i < priv->child_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:95:
cond_true: Condition "!(local->replies + i).valid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:96:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:132:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:94:
cond_true: Condition "i < priv->child_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:95:
cond_true: Condition "!(local->replies + i).valid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:96:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:132:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:94:
cond_true: Condition "i < priv->child_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:95:
cond_false: Condition "!(local->replies + i).valid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:96:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:97:
cond_false: Condition "(local->replies + i).op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:98:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:107:
cond_true: Condition "local->op_ret < (local->replies + i).op_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:119:
cond_true: Condition "(local->replies + i).xdata", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:120:
cond_false: Condition "local->xdata_rsp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:121:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:125:
cond_true: Condition "(local->replies + i).xattr", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:126:
cond_true: Condition "local->xattr_rsp", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:132:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:94:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:94:
cond_false: Condition "i < priv->child_count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:132:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-inode-write.c:135:
var_deref_model: Passing null pointer "local->inode" to "afr_set_in_flight_sb_status", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_true: Condition "__i < priv->child_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_true: Condition "local->transaction.failed_subvols[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_true: Condition "__i < priv->child_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_true: Condition "local->transaction.failed_subvols[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_true: Condition "__i < priv->child_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_false: Condition "local->transaction.failed_subvols[__i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
cond_false: Condition "__i < priv->child_count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:13:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:290:9:
cond_false: Condition "({...}) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:292:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:294:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/afr/src/afr-common.c:294:9:
deref_parm_field_in_call: Function "pthread_spin_lock" dereferences an offset off "inode".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5334:
assign_zero: Assigning: "local" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5336:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5336:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5337:
cond_true: Condition "!frame->local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5337:
cond_true: Condition "this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5337:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5358:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5359:
cond_true: Condition "!call_cnt", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5360:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5360:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5360:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:5360:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3793:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3793:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3793:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3794:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3794:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3795:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3841:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3842:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3960:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3960:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3960:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3961:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3961:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3962:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4008:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4009:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:29:
assign_zero: Assigning: "cbk" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:33:
cond_true: Condition "&ans->list != &fop->cbk_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:34:
cond_false: Condition "ans->op_ret >= 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:40:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:41:
cond_true: Condition "ans->op_errno == 11", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:42:
switch: Switch case value "0U".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:43:
switch_case: Reached case "0U".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:48:
break: Breaking from switch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:49:
switch_end: Reached end of switch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:52:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:33:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:33:
cond_false: Condition "&ans->list != &fop->cbk_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:52:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:54:
cond_true: Condition "error == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:55:
cond_true: Condition "gf_bits_count(locked | notlocked) >= ec->fragments", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:56:
cond_true: Condition "notlocked == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:57:
cond_true: Condition "fop->answer == NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:58:
alias_transfer: Assigning: "fop->answer" = "cbk".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-locks.c:61:
var_deref_model: Passing "fop" to "ec_update_good", which dereferences null "fop->answer".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:188:5:
cond_true: Condition "fop->expected != 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:188:5:
cond_true: Condition "fop->parent == NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:189:9:
deref_parm_in_call: Function "ec_check_status" dereferences "fop->answer".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:138:5:
cond_true: Condition "!ec_fop_needs_name_heal(fop)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:138:5:
cond_false: Condition "!ec_fop_needs_heal(fop)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:140:5:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-common.c:142:5:
deref_parm: Directly dereferencing parameter "fop->answer".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:50:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:50:
cond_true: Condition "!frame->this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:50:
var_compare_op: Comparing "frame->this" to null implies that "frame->this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:55:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:83:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_true: Condition "rsp.op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_true: Condition "rsp.op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_true: Condition "rsp.op_errno != frame->root->error", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c:84:
var_deref_op: Dereferencing null pointer "frame->this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4890:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4891:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4895:
cond_false: Condition "gf_rdma_init(this)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4902:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4906:
cond_false: Condition "rdma_ctx != NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4915:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4906:
var_compare_op: Comparing "rdma_ctx" to null implies that "rdma_ctx" might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4917:
var_deref_model: Passing null pointer "&rdma_ctx->lock" to "pthread_mutex_unlock", which dereferences it.
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4862:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4862:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4862:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4863:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4863:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4864:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4948:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4949:
cond_true: Condition "!count", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:4951:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:392:
assign_zero: Assigning: "tmp_str" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:397:
cond_false: Condition "!tail", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:398:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:400:
cond_false: Condition "strncmp(tail, "addr.", 5) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:404:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:408:
cond_false: Condition "!tail", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:409:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:413:
cond_false: Condition "!tail", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:414:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:416:
cond_true: Condition "*tail == '.'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:421:
cond_false: Condition "!strcmp(v->data, "*")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:424:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:427:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:427:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:427:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server.c:427:
var_deref_model: Passing "&tmp_str" to "__strtok_r_1c", which dereferences null "tmp_str".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:288:
assign_zero: Assigning: "saveptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:293:
cond_true: Condition "i < 4", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:294:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"."[1] - (size_t)(void const *)"." == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:294:
cond_true: Condition "(char const *)"."[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:294:
cond_true: Condition "(char const *)"."[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:294:
var_deref_model: Passing "&saveptr" to "__strtok_r_1c", which dereferences null "saveptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:176:
assign_zero: Assigning: "real_path" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:185:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:185:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:186:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:186:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:187:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:187:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:193:
cond_true: Condition "__is_root_gfid(loc->pargfid)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:193:
cond_true: Condition "loc->name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:193:
cond_false: Condition "strcmp(loc->name, ".glusterfs") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:201:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:205:
cond_false: Condition "gf_uuid_is_null(loc->pargfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:205:
cond_false: Condition "loc->name == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:208:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
cond_false: Condition "gf_uuid_is_null(loc->pargfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
cond_false: Condition "!loc->name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
cond_true: Condition "loc->path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
cond_false: Condition "loc->path[0] == '/'", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
cond_false: Condition "*__errno_location() != 40", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:209:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:211:
cond_true: Condition "gf_uuid_is_null(loc->inode->gfid)", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:212:
var_deref_model: Passing null pointer "real_path" to "posix_gfid_heal", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:1482:9:
cond_false: Condition "!xattr_req", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:1483:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-helpers.c:1485:9:
deref_parm_in_call: Function "sys_lstat" dereferences "path".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:25:9:
deref_parm_in_call: Function "lstat" dereferences "path". [Note: The source code implementation of the function has been overridden by a builtin model.]
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7631:
assign_zero: Assigning: "tmpptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7637:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" "[1] - (size_t)(void const *)" " == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7637:
cond_true: Condition "(char const *)" "[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7637:
cond_true: Condition "(char const *)" "[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7637:
var_deref_model: Passing "&tmpptr" to "__strtok_r_1c", which dereferences null "tmpptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7554:
assign_zero: Assigning: "tmpptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7559:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7559:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7561:
cond_true: Condition "!conf", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7564:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" "[1] - (size_t)(void const *)" " == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7564:
cond_true: Condition "(char const *)" "[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7564:
cond_true: Condition "(char const *)" "[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7564:
var_deref_model: Passing "&tmpptr" to "__strtok_r_1c", which dereferences null "tmpptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7679:
assign_zero: Assigning: "tmpptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7684:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7684:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7686:
cond_true: Condition "!conf", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7689:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" "[1] - (size_t)(void const *)" " == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7689:
cond_true: Condition "(char const *)" "[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7689:
cond_true: Condition "(char const *)" "[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:7689:
var_deref_model: Passing "&tmpptr" to "__strtok_r_1c", which dereferences null "tmpptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6699:
assign_zero: Assigning: "curdir" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6705:
cond_true: Condition "!path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6706:
cond_true: Condition "!path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6707:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6738:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6739:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6745:
cond_true: Condition "*in_use", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6746:
var_deref_model: Passing null pointer "curdir" to "strcmp", which dereferences it.
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6705:
cond_true: Condition "!path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6706:
cond_true: Condition "!path", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6706:
var_compare_op: Comparing "path" to null implies that "path" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6707:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6738:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6739:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6745:
cond_true: Condition "*in_use", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:6746:
var_deref_model: Passing null pointer "path" to "strcmp", which dereferences it.
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:1267:
assign_zero: Assigning: "tmp" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:1272:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:1272:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:1272:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:1272:
var_deref_model: Passing "&tmp" to "__strtok_r_1c", which dereferences null "tmp".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1093:
assign_zero: Assigning: "ptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1103:
cond_false: Condition "!handle", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1106:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1107:
cond_true: Condition "*brick->vg == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1109:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1109:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1109:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:1109:
var_deref_model: Passing "&ptr" to "__strtok_r_1c", which dereferences null "ptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2511:
assign_zero: Assigning: "fd" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2518:
cond_false: Condition "!state", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2518:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2519:
cond_false: Condition "(fd_t *)(uintptr_t)fri->fh", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2524:
cond_true: Condition "this->history", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2524:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2524:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mount/fuse/src/fuse-bridge.c:2524:
var_deref_op: Dereferencing null pointer "fd".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:481:
cond_false: Condition "!wb_inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:481:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:482:
cond_false: Condition "!stub", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:482:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:485:
cond_false: Condition "!req", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:486:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:501:
cond_false: Condition "stub->args.fd != NULL", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:501:
var_compare_op: Comparing "stub->args.fd" to null implies that "stub->args.fd" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:504:
cond_true: Condition "inode", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:507:
cond_true: Condition "stub->fop == GF_FOP_WRITE", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:525:
var_deref_op: Dereferencing null pointer "stub->args.fd".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:97:
cond_true: Condition "post == NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:97:
var_compare_op: Comparing "post" to null implies that "post" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:98:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:126:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:127:
cond_true: Condition "ret != 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:128:
var_deref_op: Dereferencing null pointer "post".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4583:
cond_true: Condition "rdma_ctx == NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4583:
var_compare_op: Comparing "rdma_ctx" to null implies that "rdma_ctx" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4584:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4605:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4606:
cond_true: Condition "ret < 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:4607:
var_deref_op: Dereferencing null pointer "rdma_ctx".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
cond_false: Condition "!path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
cond_true: Condition "!parent", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
var_compare_op: Comparing "parent" to null implies that "parent" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:145:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:230:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:231:
var_deref_op: Dereferencing null pointer "parent".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:181:
cond_true: Condition "!local", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:181:
var_compare_op: Comparing "local" to null implies that "local" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:184:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:237:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:238:
var_deref_op: Dereferencing null pointer "local".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:967:
cond_false: Condition "ctx->mgmt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:968:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:970:
cond_true: Condition "cmd_args->volfile_server_port", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:973:
cond_false: Condition "cmd_args->volfile_server", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:975:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:975:
cond_false: Condition "cmd_args->volfile_server_transport", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:978:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:975:
var_compare_op: Comparing "cmd_args->volfile_server_transport" to null implies that "cmd_args->volfile_server_transport" might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:982:
var_deref_model: Passing null pointer "cmd_args->volfile_server_transport" to "strcmp", which dereferences it.
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1781:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1781:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1782:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1840:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1841:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1860:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1860:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1861:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1921:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1922:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1981:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1981:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:1982:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2042:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2043:
cond_true: Condition "_gf_true == is_alloc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2043:
cond_false: Condition "req.buf.buf_val", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2044:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2046:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:527:
assign_zero: Assigning: "tmp_str1" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:535:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:535:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:535:
cond_false: Condition "!data", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:536:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:540:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:540:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:540:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:541:
cond_true: Condition "stripe_str", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:545:
cond_false: Condition "!stripe_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:547:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:549:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:549:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:549:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe-helpers.c:549:
var_deref_model: Passing "&tmp_str1" to "__strtok_r_1c", which dereferences null "tmp_str1".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:3501:
assign_zero: Assigning: "defrag" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:3507:
cond_true: Condition "!tier_fix_layout_arg", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:3507:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:3580:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:3581:
cond_true: Condition "ret", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:3582:
var_deref_op: Dereferencing null pointer "defrag".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:272:
cond_false: Condition "!tokens", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:273:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:277:
cond_true: Condition "token = *tokenp", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:278:
cond_false: Condition "!tokenp[1]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:281:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:285:
cond_false: Condition "!word", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:286:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:287:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:277:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:277:
cond_false: Condition "token = *tokenp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:287:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:277:
var_compare_op: Comparing "token" to null implies that "token" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:289:
cond_false: Condition "!word", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:290:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:292:
var_deref_model: Passing null pointer "token" to "cli_rl_get_matches", which dereferences it.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rl.c:235:9:
deref_parm_in_call: Function "strlen" dereferences "text".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2098:
assign_zero: Assigning: "contribution" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2101:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2101:
cond_false: Condition "loc.parent == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2102:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2104:
cond_false: Condition "!loc_is_root(&loc)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2114:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2116:
cond_false: Condition "buf.ia_type == IA_IFDIR", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2120:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2120:
var_deref_model: Passing null pointer "contribution" to "mq_inspect_file_xattr", which dereferences it.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2045:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2055:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2057:9:
cond_true: Condition "contribution->gfid != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2057:9:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2057:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2057:9:
cond_true: Condition "_priv->version > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2057:9:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2057:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2058:9:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2059:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2063:9:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2065:16:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2066:17:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/marker/src/marker-quota.c:2066:17:
deref_parm_field_in_call: Function "pthread_spin_lock" dereferences an offset off "contribution".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:443:
assign_zero: Assigning: "saveptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:454:
cond_false: Condition "wordcount < 3", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:457:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:460:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:461:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:463:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" "[1] - (size_t)(void const *)" " == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:463:
cond_true: Condition "(char const *)" "[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:463:
cond_true: Condition "(char const *)" "[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-system.c:463:
var_deref_model: Passing "&saveptr" to "__strtok_r_1c", which dereferences null "saveptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1218:
assign_zero: Assigning: "args" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1221:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1221:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1263:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1264:
cond_false: Condition "rsp.op_errstr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1265:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1267:
cond_false: Condition "req->rpc_status != -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1268:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1269:
var_deref_op: Dereferencing null pointer "args".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1215:
assign_zero: Assigning: "frame" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1221:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1221:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1263:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1264:
cond_false: Condition "rsp.op_errstr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1265:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1267:
cond_true: Condition "req->rpc_status != -1", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:1268:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:279:
assign_zero: Assigning: "tmpstr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:283:
cond_false: Condition "!conf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:283:
cond_false: Condition "!bricks", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:284:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:287:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:287:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:287:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:287:
var_deref_model: Passing "&tmpstr" to "__strtok_r_1c", which dereferences null "tmpstr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:512:
assign_zero: Assigning: "tmp_str1" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:520:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:520:
cond_false: Condition "!defrag", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:520:
cond_false: Condition "!data", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:521:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:526:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:526:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:526:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:527:
cond_true: Condition "pattern_str", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:531:
cond_false: Condition "!pattern_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:533:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:534:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:534:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:534:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c:534:
var_deref_model: Passing "&tmp_str1" to "__strtok_r_1c", which dereferences null "tmp_str1".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:359:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:359:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:360:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:360:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:361:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:374:
label: Reached label "err".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-handshake.c:379:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2060:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2060:
var_compare_op: Comparing "this" to null implies that "this" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2061:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2079:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2080:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2080:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:2080:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:788:
assign_zero: Assigning: "this" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:802:
cond_true: Condition "ret != 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-history-changelog.c:803:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c:23:
cond_false: Condition "!ctr_hard_link", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c:23:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c:25:
cond_false: Condition "*ctr_hard_link", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c:26:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c:25:
var_compare_op: Comparing "*ctr_hard_link" to null implies that "*ctr_hard_link" might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c:27:
var_deref_op: Dereferencing null pointer "*ctr_hard_link".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:613:
assign_zero: Assigning: "tmp_str1" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_false: Condition "trav_xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:635:
cond_false: Condition "!switch_buf_array", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:636:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_false: Condition "trav_xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&";"[1] - (size_t)(void const *)";" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "(char const *)";"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "(char const *)";"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:654:
cond_true: Condition "switch_str", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:658:
cond_false: Condition "!switch_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:661:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
var_deref_model: Passing "&tmp_str1" to "__strtok_r_1c", which dereferences null "tmp_str1".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:612:
assign_zero: Assigning: "tmp_str" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_false: Condition "trav_xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:635:
cond_false: Condition "!switch_buf_array", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:636:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_false: Condition "trav_xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&";"[1] - (size_t)(void const *)";" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "(char const *)";"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "(char const *)";"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
var_deref_model: Passing "&tmp_str" to "__strtok_r_1c", which dereferences null "tmp_str".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:609:
assign_zero: Assigning: "tmp" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:627:
cond_false: Condition "trav_xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:630:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:635:
cond_false: Condition "!switch_buf_array", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:636:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_true: Condition "trav_xl", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:641:
cond_false: Condition "trav_xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:646:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&";"[1] - (size_t)(void const *)";" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "(char const *)";"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:653:
cond_true: Condition "(char const *)";"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:654:
cond_true: Condition "switch_str", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:658:
cond_false: Condition "!switch_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:661:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:663:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:664:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:664:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:664:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:665:
cond_false: Condition "strncmp(pattern, "*", 2) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:675:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:678:
cond_true: Condition "childs", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:680:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:680:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:680:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:680:
var_deref_model: Passing "&tmp" to "__strtok_r_1c", which dereferences null "tmp".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:824:
assign_zero: Assigning: "tmp_str" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:831:
switch: Switch case value "ARGP_BRICK_PORT_KEY".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:1094:
switch_case: Reached case "ARGP_BRICK_PORT_KEY".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:1097:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:1097:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:1097:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:1097:
var_deref_model: Passing "&tmp_str" to "__strtok_r_1c", which dereferences null "tmp_str".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3558:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3558:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3558:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3559:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3559:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3560:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3632:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/stripe/src/stripe.c:3633:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:816:
assign_zero: Assigning: "saveptr" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:819:
cond_false: Condition "path == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:819:
cond_false: Condition "table == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:821:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:826:
cond_true: Condition "1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:827:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:827:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:827:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:827:
var_deref_model: Passing "&saveptr" to "__strtok_r_1c", which dereferences null "saveptr".
path:/usr/include/bits/string2.h:198:3:
cond_true: Condition "__s == NULL", taking true branch.
/usr/include/bits/string2.h:199:5:
var_assign_parm: Assigning: "__s" = "*__nextp".
/usr/include/bits/string2.h:200:3:
deref_var: Dereferencing "__s" (which is a copy of "__nextp*").
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tierd-svc.c:431:
assign_zero: Assigning: "this" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tierd-svc.c:437:
cond_true: Condition "!data", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tierd-svc.c:437:
var_deref_op: Dereferencing null pointer "this".
Error: FORWARD_NULL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:90:
assign_zero: Assigning: "frame" = "NULL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:102:
cond_false: Condition "!iobuf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:103:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:106:
cond_true: Condition "!iobref", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:107:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:143:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:147:
var_deref_op: Dereferencing null pointer "frame".
Error: FORWARD_NULL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:102:
cond_false: Condition "!iobuf", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:103:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:106:
cond_false: Condition "!iobref", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:107:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:110:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:110:
var_compare_op: Comparing "frame" to null implies that "frame" might be null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:111:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:143:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/gf_attach.c:147:
var_deref_op: Dereferencing null pointer "frame".
Error: IDENTICAL_BRANCHES:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:911:
implicit_else: The code from the above if-then branch is identical to the code after the if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:909:
identical_branches: The same code is executed when the condition "ret < 0" is true or false, because the code in the if-then branch and after the if statement is identical. Should the if statement be removed?
Error: IDENTICAL_BRANCHES:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:436:
implicit_else: The code from the above if-then branch is identical to the code after the if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:434:
identical_branches: The same code is executed when the condition "ret < 0" is true or false, because the code in the if-then branch and after the if statement is identical. Should the if statement be removed?
Error: IDENTICAL_BRANCHES:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:2830:
implicit_else: The code from the above if-then branch is identical to the code after the if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-rpc-fops.c:2828:
identical_branches: The same code is executed when the condition "ret < 0" is true or false, because the code in the if-then branch and after the if statement is identical. Should the if statement be removed?
Error: INFINITE_LOOP:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop-utils.c:419:
loop_top: Top of the loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop-utils.c:420:
loop_bottom: Bottom of the loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop-utils.c:419:
loop_condition: If "qlen == max_qlen" is initially true then it will remain true.
Error: INTEGER_OVERFLOW:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.h:63:
cond_false: Condition "value != 0", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.h:63:
overflow: Subtract operation overflows on operands "value" and "1U".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-helpers.h:63:
overflow_sink: Overflowed or truncated value (or a value computed from an overflowed or truncated value) "value != 0U && (value & value - 1U) == 0U" used as return value.
Error: LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1874:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1874:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1875:
cond_false: Condition "!this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1875:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1877:
cond_false: Condition "!priv->_db_conn", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1877:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1878:
cond_false: Condition "!in_dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1878:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1879:
cond_false: Condition "!out_dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1879:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1881:
cond_false: Condition "!data", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1881:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1885:
cond_false: Condition "strncmp(ctr_ipc_ops, "gfdb.ipc-ctr-clear-op", strlen("gfdb.ipc-ctr-clear-op")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1893:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1893:
cond_false: Condition "strncmp(ctr_ipc_ops, "gfdb.ipc-ctr-query-op", strlen("gfdb.ipc-ctr-query-op")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1924:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1924:
cond_false: Condition "strncmp(ctr_ipc_ops, "gfdb.ipc-ctr-get-db-version", strlen("gfdb.ipc-ctr-get-db-version")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1939:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1939:
cond_false: Condition "strncmp(ctr_ipc_ops, "gfdb.ipc-ctr-get-db-parm", strlen("gfdb.ipc-ctr-get-db-parm")) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1959:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1959:
cond_true: Condition "strncmp(ctr_ipc_ops, "gfdb.ipc-ctr-set-compact-pragma", strlen("gfdb.ipc-ctr-set-compact-pragma")) == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1962:
lock: "pthread_mutex_lock" locks "priv->compact_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1963:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1967:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1969:
cond_false: Condition "priv->compact_active", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1969:
cond_false: Condition "priv->compact_mode_switched", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1975:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1981:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1985:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1987:
cond_true: Condition "result", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1993:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:1996:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:2036:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changetimerecorder/src/changetimerecorder.c:2037:
missing_unlock: Returning without unlocking "priv->compact_lock".
Error: LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1751:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1752:
cond_true: Condition "local->color == FOP_COLOR_BLACK", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1753:
lock: "pthread_mutex_lock" locks "priv->dm.drain_black_mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1754:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1754:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1757:
cond_true: Condition "priv->dm.black_fop_cnt == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1757:
cond_true: Condition "priv->dm.drain_wait_black == _gf_true", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1761:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1761:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1790:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1791:
missing_unlock: Returning without unlocking "priv->dm.drain_black_mutex".
Error: LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1751:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1752:
cond_false: Condition "local->color == FOP_COLOR_BLACK", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1770:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1771:
lock: "pthread_mutex_lock" locks "priv->dm.drain_white_mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1772:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1772:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1775:
cond_true: Condition "priv->dm.white_fop_cnt == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1775:
cond_true: Condition "priv->dm.drain_wait_white == _gf_true", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1779:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1779:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1790:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1791:
missing_unlock: Returning without unlocking "priv->dm.drain_white_mutex".
Error: LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2105:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2106:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2108:
cond_true: Condition "event == GF_EVENT_TRANSLATOR_OP", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2114:
switch: Switch case value "1".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2180:
switch_case: Reached case "1".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2185:
cond_false: Condition "!priv->active", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2185:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2186:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2190:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2192:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2194:
cond_false: Condition "priv->bflags.barrier_ext == _gf_true", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2197:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2199:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2201:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2208:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2211:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2211:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2217:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2217:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2221:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2225:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2226:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2229:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2236:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2243:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2245:
lock: "pthread_mutex_lock" locks "priv->bn.bnotify_mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2246:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2246:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2252:
cond_true: Condition "priv->bn.bnotify == _gf_true", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2256:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2256:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2292:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2293:
cond_true: Condition "bclean_req", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2296:
missing_unlock: Returning without unlocking "priv->bn.bnotify_mutex".
Error: LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:65:
cond_false: Condition "use_spinlocks", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:65:
lock: "pthread_mutex_lock" locks "cache->gc_lock.mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:69:
cond_true: Condition "i < 4", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:70:
cond_true: Condition "!agl->gl_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:71:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:101:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:69:
cond_true: Condition "i < 4", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:70:
cond_false: Condition "!agl->gl_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:71:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:72:
cond_false: Condition "agl->gl_id != id", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:73:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:83:
cond_false: Condition "agl->gl_uid != uid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:83:
cond_false: Condition "agl->gl_gid != gid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:84:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:92:
cond_true: Condition "now < agl->gl_deadline", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:93:
missing_unlock: Returning without unlocking "cache->gc_lock.mutex".
Error: LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:65:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:65:
lock: "pthread_spin_lock" locks "cache->gc_lock.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:69:
cond_true: Condition "i < 4", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:70:
cond_true: Condition "!agl->gl_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:71:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:101:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:69:
cond_true: Condition "i < 4", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:70:
cond_true: Condition "!agl->gl_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:71:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:101:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:69:
cond_true: Condition "i < 4", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:70:
cond_false: Condition "!agl->gl_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:71:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:72:
cond_false: Condition "agl->gl_id != id", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:73:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:83:
cond_false: Condition "agl->gl_uid != uid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:83:
cond_false: Condition "agl->gl_gid != gid", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:84:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:92:
cond_true: Condition "now < agl->gl_deadline", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gidcache.c:93:
missing_unlock: Returning without unlocking "cache->gc_lock.spinlock".
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:1130:
unterminated_case: The case for value "IA_IFREG" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:1144:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:2167:
unterminated_case: The case for value "GF_OP_CMD_DETACH_START" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:2177:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3322:
unterminated_case: The case for value "GD_OP_REMOVE_BRICK" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3331:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:2089:
unterminated_case: The case for value "GF_UPCALL_RECALL_LEASE" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c:2092:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:450:
unterminated_case: The case for value "2" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:453:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:513:
unterminated_case: The case for value "27" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:517:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:685:
unterminated_case: The case for value "27" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:689:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:586:
unterminated_case: The case for value "27" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c:590:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:461:
unterminated_case: The case for value "2" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:464:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:720:
unterminated_case: The case for value "27" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:724:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:529:
unterminated_case: The case for value "27" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:532:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:618:
unterminated_case: The case for value "27" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/name.c:621:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rebalance.c:673:
unterminated_case: The case for value "GF_DEFRAG_CMD_START_LAYOUT_FIX" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rebalance.c:694:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rebalance.c:654:
unterminated_case: The case for value "GF_DEFRAG_CMD_START_TIER" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rebalance.c:672:
fallthrough: The above case falls through to this one.
Error: MISSING_BREAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:511:
unterminated_case: The case for value "GF_DEFRAG_CMD_DETACH_COMMIT" is not terminated by a 'break' statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-tier.c:524:
fallthrough: The above case falls through to this one.
Error: MISSING_LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:672:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:676:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:
cond_false: Condition "!pool_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:
cond_false: Condition "pool_list->poison", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:681:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:688:
cond_false: Condition "!retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:690:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:692:
missing_lock: Accessing "retval->magic" without holding lock "per_thread_pool_list.lock". Elsewhere, "pooled_obj_hdr.magic" is accessed with "per_thread_pool_list.lock" held 1 out of 2 times (1 of these accesses strongly imply that it is necessary).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:726:
example_lock: Example 1: Locking "per_thread_pool_list.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:727:
example_access: Example 1 (cont.): "pooled_obj_hdr.magic" is accessed with lock "per_thread_pool_list.lock" held.
Error: MISSING_LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1964:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1976:
missing_lock: Accessing "scrub_monitor->done" without holding lock "br_monitor.donelock". Elsewhere, "br_monitor.done" is accessed with "br_monitor.donelock" held 4 out of 5 times.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:978:
example_lock: Example 1: Locking "br_monitor.donelock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:980:
example_access: Example 1 (cont.): "br_monitor.done" is accessed with lock "br_monitor.donelock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1069:
example_lock: Example 2: Locking "br_monitor.donelock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1071:
example_access: Example 2 (cont.): "br_monitor.done" is accessed with lock "br_monitor.donelock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1024:
example_lock: Example 3: Locking "br_monitor.donelock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:1026:
example_access: Example 3 (cont.): "br_monitor.done" is accessed with lock "br_monitor.donelock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:770:
example_lock: Example 4: Locking "br_monitor.donelock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c:772:
example_access: Example 4 (cont.): "br_monitor.done" is accessed with lock "br_monitor.donelock" held.
Error: MISSING_LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1146:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1146:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1148:
cond_false: Condition "!this->children", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1148:
cond_false: Condition "this->children->next", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1154:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1156:
cond_true: Condition "!this->parents", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1163:
cond_false: Condition "conf == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1165:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1169:
cond_false: Condition "val_ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1169:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1171:
cond_false: Condition "val_ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1171:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1173:
cond_false: Condition "val_ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1173:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1175:
missing_lock: Accessing "conf->files.next" without holding lock "ra_conf.conf_lock". Elsewhere, "ra_file.next" is accessed with "ra_conf.conf_lock" held 5 out of 6 times.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:588:
example_lock: Example 1: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:590:
example_access: Example 1 (cont.): "ra_file.next" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:146:
example_lock: Example 2: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:148:
example_access: Example 2 (cont.): "ra_file.next" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:146:
example_lock: Example 3: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:149:
example_access: Example 3 (cont.): "ra_file.next" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:68:
example_lock: Example 4: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:70:
example_access: Example 4 (cont.): "ra_file.next" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:68:
example_lock: Example 5: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:71:
example_access: Example 5 (cont.): "ra_file.next" is accessed with lock "ra_conf.conf_lock" held.
Error: MISSING_LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1146:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1146:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1148:
cond_false: Condition "!this->children", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1148:
cond_false: Condition "this->children->next", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1154:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1156:
cond_true: Condition "!this->parents", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1163:
cond_false: Condition "conf == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1165:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1169:
cond_false: Condition "val_ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1169:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1171:
cond_false: Condition "val_ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1171:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1173:
cond_false: Condition "val_ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1173:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1176:
missing_lock: Accessing "conf->files.prev" without holding lock "ra_conf.conf_lock". Elsewhere, "ra_file.prev" is accessed with "ra_conf.conf_lock" held 5 out of 6 times.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:588:
example_lock: Example 1: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:591:
example_access: Example 1 (cont.): "ra_file.prev" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:146:
example_lock: Example 2: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:150:
example_access: Example 2 (cont.): "ra_file.prev" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:146:
example_lock: Example 3: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:151:
example_access: Example 3 (cont.): "ra_file.prev" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:68:
example_lock: Example 4: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:72:
example_access: Example 4 (cont.): "ra_file.prev" is accessed with lock "ra_conf.conf_lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:68:
example_lock: Example 5: Locking "ra_conf.conf_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:73:
example_access: Example 5 (cont.): "ra_file.prev" is accessed with lock "ra_conf.conf_lock" held.
Error: MISSING_LOCK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3934:
cond_false: Condition "this->private", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3938:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3941:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3943:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3952:
missing_lock: Accessing "priv->sock" without holding lock "socket_private_t.lock". Elsewhere, "socket_private_t.sock" is accessed with "socket_private_t.lock" held 10 out of 12 times.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3019:
example_lock: Example 1: Locking "socket_private_t.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3058:
example_access: Example 1 (cont.): "socket_private_t.sock" is accessed with lock "socket_private_t.lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3353:
example_lock: Example 2: Locking "socket_private_t.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3364:
example_access: Example 2 (cont.): "socket_private_t.sock" is accessed with lock "socket_private_t.lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3353:
example_lock: Example 3: Locking "socket_private_t.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:3415:
example_access: Example 3 (cont.): "socket_private_t.sock" is accessed with lock "socket_private_t.lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:2588:
example_lock: Example 4: Locking "socket_private_t.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:2593:
example_access: Example 4 (cont.): "socket_private_t.sock" is accessed with lock "socket_private_t.lock" held.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:2672:
example_lock: Example 5: Locking "socket_private_t.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/socket/src/socket.c:2786:
example_access: Example 5 (cont.): "socket_private_t.sock" is accessed with lock "socket_private_t.lock" held.
Error: MISSING_LOCK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:511:
missing_lock: Accessing "pool_list->poison" without holding lock "pool_lock". Elsewhere, "per_thread_pool_list.poison" is accessed with "pool_lock" held 1 out of 2 times (1 of these accesses strongly imply that it is necessary).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:628:
example_lock: Example 1: Locking "pool_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:629:
example_access: Example 1 (cont.): "per_thread_pool_list.poison" is accessed with lock "pool_lock" held.
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12664:
switch_on_enum: Switching on "cmd".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12665:
first_enum_type: This case, "GF_DEFRAG_CMD_DETACH_START", implies the effective type of "cmd" is "enum gf_cli_defrag_type".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12666:
mixed_enums: But this case, "GF_OP_CMD_DETACH_COMMIT_FORCE", is of different type "enum gf1_op_commands".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12664:
switch_on_enum: Switching on "cmd".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12665:
first_enum_type: This case, "GF_DEFRAG_CMD_DETACH_START", implies the effective type of "cmd" is "enum gf_cli_defrag_type".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12667:
mixed_enums: But this case, "GF_OP_CMD_DETACH_COMMIT", is of different type "enum gf1_op_commands".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12664:
switch_on_enum: Switching on "cmd".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12665:
first_enum_type: This case, "GF_DEFRAG_CMD_DETACH_START", implies the effective type of "cmd" is "enum gf_cli_defrag_type".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12668:
mixed_enums: But this case, "GF_OP_CMD_DETACH_START", is of different type "enum gf1_op_commands".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:1725:
first_enum_type: Enum type for "cmd" is established as "enum gf1_op_commands" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:1732:
mixed_enums: Mixing enum types "enum gf1_op_commands" and "enum gf_cli_defrag_type" for "cmd".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:1725:
first_enum_type: Enum type for "cmd" is established as "enum gf1_op_commands" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:1746:
mixed_enums: Mixing enum types "enum gf1_op_commands" and "enum gf_cli_defrag_type" for "cmd".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:3045:
first_enum_type: Enum type for "ret" is established as "enum tier_mode_" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:3016:
mixed_enums: Mixing enum types "enum tier_mode_" and "enum _gf_boolean" for "ret".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:3045:
first_enum_type: Enum type for "ret" is established as "enum tier_mode_" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier.c:3026:
mixed_enums: Mixing enum types "enum tier_mode_" and "enum _gf_boolean" for "ret".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:2721:
mixed_enums: Mixing enum types "enum gf1_op_commands" and "enum gf_cli_defrag_type" for "cmd".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-brick-ops.c:2721:
mixed_enums: Mixing enum types "enum gf_cli_defrag_type" and "enum gf1_op_commands" for "defrag_cmd".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:472:
first_enum_type: Enum type for "rpc_err" is established as "enum accept_stat" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:506:
mixed_enums: Mixing enum types "enum accept_stat" and "enum reject_stat" for "rpc_err".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:472:
first_enum_type: Enum type for "rpc_err" is established as "enum accept_stat" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:516:
mixed_enums: Mixing enum types "enum accept_stat" and "enum reject_stat" for "rpc_err".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:633:
first_enum_type: Enum type for "rpc_err" is established as "enum reject_stat" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:673:
mixed_enums: Mixing enum types "enum reject_stat" and "enum accept_stat" for "rpc_err".
Error: MIXED_ENUMS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:633:
first_enum_type: Enum type for "rpc_err" is established as "enum reject_stat" here.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:680:
mixed_enums: Mixing enum types "enum reject_stat" and "enum accept_stat" for "rpc_err".
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2039:
var_tested_neg: Assigning: "source" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2043:
cond_false: Condition "!xattr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2046:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "sources[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "sources[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_false: Condition "__i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "healed_sinks[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "healed_sinks[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_false: Condition "__i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "({...}) + ({...}) == ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2055:
cond_false: Condition "sources[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2058:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2059:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2055:
cond_false: Condition "sources[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2058:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2059:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
cond_false: Condition "i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2059:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2061:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2062:
cond_true: Condition "healed_sinks[i]", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2063:
negative_returns: Passing variable "source" to a parameter that cannot be negative.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:1995:9:
index: Indexing "versions" with "source".
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2039:
var_tested_neg: Assigning: "source" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2043:
cond_false: Condition "!xattr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2046:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "sources[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "sources[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_false: Condition "__i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "healed_sinks[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "__i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_true: Condition "healed_sinks[__i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
cond_false: Condition "__i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2051:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2050:
cond_true: Condition "({...}) + ({...}) == ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2055:
cond_false: Condition "sources[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2058:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2059:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2055:
cond_false: Condition "sources[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2058:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2059:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2054:
cond_false: Condition "i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2059:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2061:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2062:
cond_false: Condition "healed_sinks[i]", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2068:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2070:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2061:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2061:
cond_false: Condition "i < ec->nodes", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2070:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2072:
cond_false: Condition "!erase_dirty", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2073:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2075:
cond_true: Condition "i < ec->nodes", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2076:
cond_true: Condition "sources[i]", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:2077:
negative_returns: Passing variable "source" to a parameter that cannot be negative.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-heal.c:1995:9:
index: Indexing "versions" with "source".
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2139:
var_tested_neg: Assigning: "op_errno" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2144:
cond_false: Condition "!is_upcall_enabled(this)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2144:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2147:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2147:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2150:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2153:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2156:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2157:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2165:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2166:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2166:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2166:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2166:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2166:
negative_returns: "op_errno" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2175:
var_tested_neg: Assigning: "op_errno" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2180:
cond_false: Condition "!is_upcall_enabled(this)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2180:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2183:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2183:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2186:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2189:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2192:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2193:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2201:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2202:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2202:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2202:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/upcall/src/upcall.c:2202:
negative_returns: "op_errno" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:242:
cond_false: Condition "!handle", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:242:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:244:
cond_true: Condition "handle->locked == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:246:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:249:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:251:
cond_false: Condition "handle->fd == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:255:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:256:
cond_true: Condition "!handle->read", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:257:
negative_return_fn: Function "dup(handle->fd)" returns a negative number.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:257:
negative_returns: "dup(handle->fd)" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3475:
var_tested_neg: Assigning: "overall_status" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3479:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3482:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3485:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3486:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3489:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3489:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3491:
cond_true: Condition "i < count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3502:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3503:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3504:
cond_true: Condition "GF_DEFRAG_STATUS_NOT_STARTED == status_rcd", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3505:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3646:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3491:
cond_true: Condition "i < count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3502:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3503:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3504:
cond_true: Condition "GF_DEFRAG_STATUS_NOT_STARTED == status_rcd", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3505:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3646:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3491:
cond_false: Condition "i < count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3646:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3651:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3651:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3655:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3655:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3659:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3659:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3663:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3663:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3667:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3667:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3671:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3671:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3675:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3675:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:3677:
negative_returns: Using variable "overall_status" as an index to array "cli_vol_task_status_str".
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7602:
var_tested_neg: Assigning: "op_errno" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7607:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7607:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7608:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7608:
cond_false: Condition "this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7608:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7691:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7692:
cond_false: Condition "local", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7692:
var_assign: Assigning: signed variable "op_errno" = "op_errno".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7693:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7693:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7693:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7693:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7693:
negative_returns: "op_errno" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7320:
var_tested_neg: Assigning: "op_errno" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7326:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7326:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7327:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7327:
cond_false: Condition "this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7327:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7426:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7429:
cond_false: Condition "local", taking false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7429:
var_assign: Assigning: signed variable "op_errno" = "op_errno".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7430:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7430:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7430:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7430:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7430:
negative_returns: "op_errno" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1055:
negative_returns: A negative constant "-95" is passed as an argument to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2507:
cond_true: Condition "master_alg_atomic(master)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2512:
cond_true: Condition "(flags & 3) == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2521:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2524:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2526:
cond_false: Condition "!data", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2530:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2531:
cond_false: Condition "data->len != 16UL /* sizeof (uuid_t) */", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2537:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2539:
cond_false: Condition "!info", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2542:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2549:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2552:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2559:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2562:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2564:
cond_false: Condition "!local->xattr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2568:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2569:
negative_return_fn: Function "dict_set_static_bin(local->xattr, "trusted.glusterfs.crypt.att.cfmt", local->format, new_format_size())" returns a negative number.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2328:9:
negative_return: Calling "dict_set_bin_common", which might return a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2294:9:
cond_true: Condition "!ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2295:17:
assign_neg_constant: Assigning: "ret" = "-22", which is negative.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2296:17:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2314:1:
label: Reached label "err".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2315:9:
return_negative_variable: Explicitly returning negative variable "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:2328:9:
return_negative_fn: Returning the return value of "dict_set_bin_common", which might be negative.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2569:
var_assign: Assigning: signed variable "ret" = "dict_set_static_bin".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2573:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2577:
goto: Jumping to label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2599:
label: Reached label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2600:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2600:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2601:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2601:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2601:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2601:
negative_returns: "ret" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1089:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1092:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1095:
cond_true: Condition "iobref", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1101:
cond_false: Condition "!local->xattr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1104:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1108:
cond_false: Condition "info == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1111:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1112:
cond_false: Condition "!object_alg_atomic(&info->cinfo)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1115:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1116:
cond_false: Condition "iovec_get_size(vec, count) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1117:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1119:
negative_return_fn: Function "prepare_for_submit_data(frame, this, offset, iovec_get_size(vec, count), vec, count, 0)" returns a negative number.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:887:2:
negative_return: Calling "set_config_avec_data", which might return a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:480:2:
cond_false: Condition "!avec", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:481:3:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:483:2:
cond_false: Condition "!pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:486:2:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:487:2:
cond_false: Condition "!vec", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:498:7:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:499:3:
negative_return: Calling "align_iov_by_atoms", which might return a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:384:2:
cond_true: Condition "to_process > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:385:3:
cond_true: Condition "off_in_head", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:399:4:
cond_true: Condition "!blocks[*blocks_allocated]", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:400:5:
return_negative_constant: Explicitly returning negative value "-12".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:499:3:
var_assign: Assigning: "ret" = "align_iov_by_atoms(this, local, object, vec, vec_count, avec, pool, &blocks_in_pool, conf)", which might be negative.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:501:3:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:502:4:
goto: Jumping to label "free".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:508:2:
label: Reached label "free".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/data.c:511:2:
return_negative_variable: Explicitly returning negative variable "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:887:2:
var_assign: Assigning: "ret" = "set_config_avec_data(this, local, &local->data_conf, object, vec, vec_count)", which might be negative.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:891:2:
return_negative_variable: Explicitly returning negative variable "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1119:
var_assign: Assigning: signed variable "ret" = "prepare_for_submit_data".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1124:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1125:
goto: Jumping to label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1187:
label: Reached label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1188:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1188:
cond_false: Condition "local->fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1189:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1190:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1190:
cond_true: Condition "local->iobref", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1192:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1192:
cond_true: Condition "local->xdata", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1194:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1194:
cond_true: Condition "local->xattr", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1196:
cond_true: Condition "local", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1196:
cond_true: Condition "local->info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1199:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1199:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1199:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:1199:
negative_returns: "ret" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2180:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2181:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2183:
cond_false: Condition "!local->loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2186:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2188:
negative_return_fn: Function "loc_copy(local->loc, loc)" returns a negative number.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.c:938:17:
assign_neg_constant: Assigning: "ret" = "-1", which is negative.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.c:940:9:
cond_true: Condition "!dst", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.c:940:9:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.c:971:1:
label: Reached label "err".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.c:972:9:
return_negative_variable: Explicitly returning negative variable "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2188:
var_assign: Assigning: signed variable "ret" = "loc_copy".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2189:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2191:
goto: Jumping to label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2225:
label: Reached label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2226:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2226:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2226:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:2226:
negative_returns: "ret" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4126:
cond_true: Condition "!xdata", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4128:
cond_false: Condition "!xdata", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4129:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4130:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4132:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4136:
negative_return_fn: Function "dict_set(xdata, "trusted.glusterfs.crypt.att.size", data_from_uint64(0UL))" returns a negative number.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:414:9:
cond_true: Condition "!this", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/dict.c:418:17:
return_negative_constant: Explicitly returning negative value "-1".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4136:
var_assign: Assigning: signed variable "ret" = "dict_set".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4137:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4139:
goto: Jumping to label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4151:
label: Reached label "error".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4152:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4152:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4152:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:4152:
negative_returns: "ret" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:47:
var_tested_neg: Assigning: "len" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:51:
cond_true: Condition "op_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:57:
cond_true: Condition "peerinfo", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:58:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:60:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:63:
cond_true: Condition "op_errstr", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:63:
cond_false: Condition "strcmp(op_errstr, "")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:67:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:69:
switch: Switch case default.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:98:
switch_default: Reached end of switch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-syncop.c:99:
negative_returns: Using variable "len" as an index to array "op_err".
Error: NEGATIVE_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1098:
var_tested_neg: Assigning: "op_errno" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1100:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1101:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1192:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1193:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1193:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1193:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-cache/src/io-cache.c:1193:
negative_returns: "op_errno" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2215:
cond_false: Condition "bd_inode_ctx_get(fd->inode, this, &bdatt) < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2220:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2222:
negative_return_fn: Function "bd_do_zerofill(frame, this, fd, offset, len, &statpre, &statpost)" returns a negative number.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:971:28:
assign_neg_constant: Assigning: "ret" = "-1", which is negative.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:976:9:
cond_true: Condition "!frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:976:9:
cond_true: Condition "this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:976:9:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:1017:1:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd-helper.c:1019:9:
return_negative_variable: Explicitly returning negative variable "ret".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2222:
var_assign: Assigning: signed variable "ret" = "bd_do_zerofill".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2224:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2225:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2230:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2231:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2231:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2231:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/bd/src/bd.c:2231:
negative_returns: "ret" is passed to a parameter that cannot be negative.
Error: NEGATIVE_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1975:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1975:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1976:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1976:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1977:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1977:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_false: Condition "gf_uuid_is_null(loc->pargfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_false: Condition "!loc->name", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_true: Condition "loc", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_true: Condition "loc->path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_true: Condition "((struct posix_private *)this->private)->path_max != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_true: Condition "var_len >= ((struct posix_private *)this->private)->path_max", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
cond_true: Condition "loc->path[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1980:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1981:
cond_false: Condition "!real_path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1981:
cond_false: Condition "!par_path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1985:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1988:
cond_false: Condition "op_ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:1994:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2000:
cond_true: Condition "!op_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2000:
cond_false: Condition "gf_uuid_compare(uuid, stbuf.ia_gfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2010:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2015:
cond_true: Condition "!op_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2015:
cond_true: Condition "check_open_fd", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2017:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2019:
cond_false: Condition "loc->inode->fd_count", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2021:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2023:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2029:
cond_false: Condition "skip_unlink", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2033:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2044:
cond_false: Condition "skip_unlink", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2044:
cond_false: Condition "posix_skip_non_linkto_unlink(xdata, loc, "unlink-only-if-tier-linkto-file", "trusted.tier.tier-dht.linkto", &stbuf, real_path)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2048:
cond_false: Condition "skip_unlink", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2052:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2054:
cond_true: Condition "loc->inode->ia_type == IA_IFREG", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2054:
cond_true: Condition "xdata", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2054:
cond_false: Condition "dict_get(xdata, "dht-get-iatt-in-xattr")", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2057:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2059:
cond_false: Condition "fdstat_requested", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2059:
cond_true: Condition "priv->background_unlink", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2059:
cond_true: Condition "loc->inode->ia_type == IA_IFREG", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2062:
cond_false: Condition "fd == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2069:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2072:
cond_true: Condition "priv->update_pgfid_nlinks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2072:
cond_false: Condition "stbuf.ia_nlink > 1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2098:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2101:
cond_true: Condition "!unwind_dict", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2102:
var_tested_neg: Assigning: "op_errno" = a negative value.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2104:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2140:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2143:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2143:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2143:
cond_true: Condition "op_ret < 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:2143:
negative_returns: "op_errno" is passed to a parameter that cannot be negative.
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/meta/src/meta-defaults.c:266:
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "strlen(strfd->data) < 0UL".
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/meta/src/meta-defaults.c:163:
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "copy_size < 0UL".
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:3414:
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "local->total_size < 0UL".
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:265:
array_null: Comparing an array to null is not useful: "!xl->mem_acct->rec", since the test will always evaluate as true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:265:
remediation: Was "xl->mem_acct->rec" formerly declared as a pointer?
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:265:
array_null: Comparing an array to null is not useful: "xl->mem_acct->rec", since the test will always evaluate as true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/statedump.c:265:
remediation: Was "xl->mem_acct->rec" formerly declared as a pointer?
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:3093:
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "local->total_size < 0UL".
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3960:
array_null: Comparing an array to null is not useful: "old_brickinfo->real_path == NULL", since the test will always evaluate as true.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:3960:
remediation: Was "old_brickinfo->real_path" formerly declared as a pointer?
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/timer-wheel/timer-wheel.c:50:
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "idx < 0UL".
Error: NO_EFFECT:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/symlink-cache/src/symlink-cache.c:270:
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "strlen(link) < 0UL".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:430:
cond_true: Condition "strncmp(key, "user.", 5UL /* sizeof ("user.") - 1 */)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:430:
cond_true: Condition "strncmp(key, "trusted.", 8UL /* sizeof ("trusted.") - 1 */)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:430:
cond_true: Condition "strncmp(key, "security.", 9UL /* sizeof ("security.") - 1 */)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:430:
cond_true: Condition "strncmp(key, "system.", 7UL /* sizeof ("system.") - 1 */)", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:435:
returned_null: "__gf_malloc" returns null (checked 40 out of 48 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
null_return: Calling "__gf_default_malloc" which might return null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_true: Condition "!ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
var_tested_null: "ptr" is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_null_var: Returning "ptr", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_null_fn: Returning the return value of "__gf_default_malloc", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:484:
example_assign: Example 1: Assigning: "newvec" = return value from "__gf_malloc(bytecount, gf_common_mt_iovec, "gf_common_mt_iovec")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:485:
example_checked: Example 1 (cont.): "newvec" has its value checked in "newvec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1974:
example_assign: Example 2: Assigning: "tmp_brick" = return value from "__gf_malloc(2048UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1976:
example_checked: Example 2 (cont.): "tmp_brick" has its value checked in "tmp_brick".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4187:
example_assign: Example 3: Assigning: "spec" = return value from "__gf_malloc(rsp.op_ret + 1, cli_mt_char, "cli_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4188:
example_checked: Example 3 (cont.): "spec" has its value checked in "spec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:544:
example_assign: Example 4: Assigning: "buf" = return value from "__gf_malloc(blk_size * 1UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:545:
example_checked: Example 4 (cont.): "buf" has its value checked in "buf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:655:
example_assign: Example 5: Assigning: "newptr" = return value from "__gf_malloc(size, gf_common_mt_memdup, "gf_common_mt_memdup")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:656:
example_checked: Example 5 (cont.): "newptr" has its value checked in "newptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:435:
var_assigned: Assigning: "*newkey" = null return value from "__gf_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:437:
dereference: Dereferencing a pointer that might be null "*newkey" when calling "strcpy".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:448:
cond_true: Condition "strncmp(key, ns, ns_length) == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:449:
returned_null: "__gf_malloc" returns null (checked 40 out of 48 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
null_return: Calling "__gf_default_malloc" which might return null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_true: Condition "!ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
var_tested_null: "ptr" is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_null_var: Returning "ptr", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_null_fn: Returning the return value of "__gf_default_malloc", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:484:
example_assign: Example 1: Assigning: "newvec" = return value from "__gf_malloc(bytecount, gf_common_mt_iovec, "gf_common_mt_iovec")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:485:
example_checked: Example 1 (cont.): "newvec" has its value checked in "newvec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1974:
example_assign: Example 2: Assigning: "tmp_brick" = return value from "__gf_malloc(2048UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1976:
example_checked: Example 2 (cont.): "tmp_brick" has its value checked in "tmp_brick".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4187:
example_assign: Example 3: Assigning: "spec" = return value from "__gf_malloc(rsp.op_ret + 1, cli_mt_char, "cli_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4188:
example_checked: Example 3 (cont.): "spec" has its value checked in "spec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:544:
example_assign: Example 4: Assigning: "buf" = return value from "__gf_malloc(blk_size * 1UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:545:
example_checked: Example 4 (cont.): "buf" has its value checked in "buf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:655:
example_assign: Example 5: Assigning: "newptr" = return value from "__gf_malloc(size, gf_common_mt_memdup, "gf_common_mt_memdup")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:656:
example_checked: Example 5 (cont.): "newptr" has its value checked in "newptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:449:
var_assigned: Assigning: "*newkey" = null return value from "__gf_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:451:
dereference: Dereferencing a pointer that might be null "*newkey" when calling "strcpy".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:447:
cond_false: Condition "!env", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:447:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:448:
cond_false: Condition "!fn", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:448:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:460:
cond_false: Condition "destroymode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:461:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:464:
cond_false: Condition "!newtask", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:465:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:468:
cond_true: Condition "!frame", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:469:
returned_null: "create_frame" returns null (checked 104 out of 113 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:21:9:
cond_false: Condition "!xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:21:9:
cond_false: Condition "!pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:23:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:26:9:
cond_true: Condition "!stack", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.c:27:17:
return_null: Explicitly returning null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.h:324:
example_assign: Example 1: Assigning: "frame" = return value from "create_frame(this, this->ctx->pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.h:325:
example_checked: Example 1 (cont.): "frame" has its value checked in "frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:462:
example_assign: Example 2: Assigning: "frame" = return value from "create_frame(*__glusterfs_this_location(), ctx->pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:463:
example_checked: Example 2 (cont.): "frame" has its value checked in "frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c:101:
example_assign: Example 3: Assigning: "frame" = return value from "create_frame(*__glusterfs_this_location(), (*__glusterfs_this_location())->ctx->pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c:102:
example_checked: Example 3 (cont.): "frame" has its value checked in "frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-peer.c:123:
example_assign: Example 4: Assigning: "frame" = return value from "create_frame(*__glusterfs_this_location(), (*__glusterfs_this_location())->ctx->pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-peer.c:124:
example_checked: Example 4 (cont.): "frame" has its value checked in "frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:43:
example_assign: Example 5: Assigning: "frame" = return value from "create_frame(*__glusterfs_this_location(), (*__glusterfs_this_location())->ctx->pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-snapshot.c:44:
example_checked: Example 5 (cont.): "frame" has its value checked in "frame == NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:469:
var_assigned: Assigning: "newtask->opframe" = null return value from "create_frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:470:
dereference: Dereferencing a null pointer "newtask->opframe".
Error: NULL_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:379:
returned_null: "__gf_malloc" returns null (checked 40 out of 48 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
null_return: Calling "__gf_default_malloc" which might return null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_true: Condition "!ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
var_tested_null: "ptr" is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_null_var: Returning "ptr", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_null_fn: Returning the return value of "__gf_default_malloc", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:484:
example_assign: Example 1: Assigning: "newvec" = return value from "__gf_malloc(bytecount, gf_common_mt_iovec, "gf_common_mt_iovec")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:485:
example_checked: Example 1 (cont.): "newvec" has its value checked in "newvec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1974:
example_assign: Example 2: Assigning: "tmp_brick" = return value from "__gf_malloc(2048UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1976:
example_checked: Example 2 (cont.): "tmp_brick" has its value checked in "tmp_brick".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4187:
example_assign: Example 3: Assigning: "spec" = return value from "__gf_malloc(rsp.op_ret + 1, cli_mt_char, "cli_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4188:
example_checked: Example 3 (cont.): "spec" has its value checked in "spec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:544:
example_assign: Example 4: Assigning: "buf" = return value from "__gf_malloc(blk_size * 1UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:545:
example_checked: Example 4 (cont.): "buf" has its value checked in "buf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:655:
example_assign: Example 5: Assigning: "newptr" = return value from "__gf_malloc(size, gf_common_mt_memdup, "gf_common_mt_memdup")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:656:
example_checked: Example 5 (cont.): "newptr" has its value checked in "newptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:379:
var_assigned: Assigning: "cache" = null return value from "__gf_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:381:
dereference: Dereferencing a null pointer "cache".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1663:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1663:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1666:
returned_null: "pl_inode_get" returns null (checked 18 out of 21 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:411:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:414:17:
cond_false: Condition "ret == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:417:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
cond_true: Condition "!pl_inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
var_tested_null: "pl_inode" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:421:25:
goto: Jumping to label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:446:1:
label: Reached label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:447:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:449:9:
return_null_var: Returning "pl_inode", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:339:
example_assign: Example 1: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:341:
example_checked: Example 1 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:534:
example_assign: Example 2: Assigning: "pinode" = return value from "pl_inode_get(this, parent)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:535:
example_checked: Example 2 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:859:
example_assign: Example 3: Assigning: "pinode" = return value from "pl_inode_get(this, inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:860:
example_checked: Example 3 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:481:
example_assign: Example 4: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:482:
example_checked: Example 4 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1265:
example_assign: Example 5: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1267:
example_checked: Example 5 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1666:
var_assigned: Assigning: "pl_inode" = null return value from "pl_inode_get".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1675:
cond_true: Condition "priv->mandatory_mode == MLK_FILE_BASED", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1675:
dereference: Dereferencing a null pointer "pl_inode".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1663:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1663:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1666:
returned_null: "pl_inode_get" returns null (checked 18 out of 21 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:411:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:414:17:
cond_false: Condition "ret == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:417:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
cond_true: Condition "!pl_inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
var_tested_null: "pl_inode" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:421:25:
goto: Jumping to label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:446:1:
label: Reached label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:447:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:449:9:
return_null_var: Returning "pl_inode", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:339:
example_assign: Example 1: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:341:
example_checked: Example 1 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:534:
example_assign: Example 2: Assigning: "pinode" = return value from "pl_inode_get(this, parent)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:535:
example_checked: Example 2 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:859:
example_assign: Example 3: Assigning: "pinode" = return value from "pl_inode_get(this, inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:860:
example_checked: Example 3 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:481:
example_assign: Example 4: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:482:
example_checked: Example 4 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1265:
example_assign: Example 5: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1267:
example_checked: Example 5 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1666:
var_assigned: Assigning: "pl_inode" = null return value from "pl_inode_get".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1675:
cond_false: Condition "priv->mandatory_mode == MLK_FILE_BASED", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1675:
cond_true: Condition "priv->mandatory_mode == MLK_FORCED", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1677:
cond_true: Condition "fd->flags & 0x200", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1678:
dereference: Dereferencing a pointer that might be null "&pl_inode->mutex" when calling "pthread_mutex_lock".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1663:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1663:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1666:
returned_null: "pl_inode_get" returns null (checked 18 out of 21 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:411:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:414:17:
cond_false: Condition "ret == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:417:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
cond_true: Condition "!pl_inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
var_tested_null: "pl_inode" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:421:25:
goto: Jumping to label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:446:1:
label: Reached label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:447:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:449:9:
return_null_var: Returning "pl_inode", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:339:
example_assign: Example 1: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:341:
example_checked: Example 1 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:534:
example_assign: Example 2: Assigning: "pinode" = return value from "pl_inode_get(this, parent)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:535:
example_checked: Example 2 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:859:
example_assign: Example 3: Assigning: "pinode" = return value from "pl_inode_get(this, inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:860:
example_checked: Example 3 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:481:
example_assign: Example 4: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:482:
example_checked: Example 4 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1265:
example_assign: Example 5: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1267:
example_checked: Example 5 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1666:
var_assigned: Assigning: "pl_inode" = null return value from "pl_inode_get".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1675:
cond_false: Condition "priv->mandatory_mode == MLK_FILE_BASED", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1675:
cond_false: Condition "priv->mandatory_mode == MLK_FORCED", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1687:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1687:
cond_true: Condition "priv->mandatory_mode == MLK_OPTIMAL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1688:
cond_true: Condition "fd->flags & 0x200", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1689:
dereference: Dereferencing a pointer that might be null "&pl_inode->mutex" when calling "pthread_mutex_lock".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4377:
cond_false: Condition "defrag->defrag_status != GF_DEFRAG_STATUS_STARTED", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4378:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4391:
cond_false: Condition "gf_defrag_get_pause_state(&defrag->tier_conf) == TIER_PAUSED", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4392:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4398:
returned_null: "synctask_get" returns null (checked 52 out of 65 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/globals.c:272:9:
null_return: Calling "pthread_getspecific" which might return null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/globals.c:272:9:
var_assign: Assigning: "synctask" = "pthread_getspecific(synctask_key)", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/globals.c:274:9:
return_null_var: Returning "synctask", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:473:
example_assign: Example 1: Assigning: "args.task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:473:
example_checked: Example 1 (cont.): "args.task" has its value checked in "args.task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop-utils.c:357:
example_checked: Example 2: "synctask_get()" has its value checked in "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1230:
example_assign: Example 3: Assigning: "task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1230:
example_assign: Example 3 (cont.): Assigning: "args.task" = "task".  Both are now equal to the return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1230:
example_checked: Example 3 (cont.): "task" has its value checked in "task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1706:
example_assign: Example 4: Assigning: "task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1706:
example_assign: Example 4 (cont.): Assigning: "args.task" = "task".  Both are now equal to the return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1706:
example_checked: Example 4 (cont.): "task" has its value checked in "task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1618:
example_assign: Example 5: Assigning: "task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1618:
example_assign: Example 5 (cont.): Assigning: "args.task" = "task".  Both are now equal to the return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1618:
example_checked: Example 5 (cont.): "task" has its value checked in "task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4398:
var_assigned: Assigning: "defrag->tier_conf.pause_synctask" = null return value from "synctask_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-rebalance.c:4406:
dereference: Dereferencing a pointer that might be null "defrag->tier_conf.pause_synctask" when calling "synctask_yield".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:334:9:
deref_parm: Directly dereferencing parameter "task".
Error: NULL_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:5897:
returned_null: "dht_local_init" returns null (checked 66 out of 67 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:651:9:
cond_true: Condition "!local", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:651:9:
var_tested_null: "local" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:652:17:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:680:1:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:681:9:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:685:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-helper.c:686:9:
return_null_var: Returning "local", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7089:
example_assign: Example 1: Assigning: "local" = return value from "dht_local_init(frame, loc, fd, GF_FOP_CREATE)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:7090:
example_checked: Example 1 (cont.): "local" has its value checked in "local".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:1214:
example_assign: Example 2: Assigning: "local" = return value from "dht_local_init(frame, loc, NULL, GF_FOP_XATTROP)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-read.c:1215:
example_checked: Example 2 (cont.): "local" has its value checked in "local".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-write.c:170:
example_assign: Example 3: Assigning: "local" = return value from "dht_local_init(frame, NULL, fd, GF_FOP_WRITE)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-inode-write.c:171:
example_checked: Example 3 (cont.): "local" has its value checked in "local".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/nufa.c:308:
example_assign: Example 4: Assigning: "local" = return value from "dht_local_init(frame, loc, fd, GF_FOP_CREATE)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/nufa.c:309:
example_checked: Example 4 (cont.): "local" has its value checked in "local".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:424:
example_assign: Example 5: Assigning: "local" = return value from "dht_local_init(frame, loc, fd, GF_FOP_CREATE)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/switch.c:425:
example_checked: Example 5 (cont.): "local" has its value checked in "local".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:5897:
var_assigned: Assigning: "refresh_local" = null return value from "dht_local_init".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:5900:
dereference: Dereferencing a null pointer "refresh_local".
Error: NULL_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:2465:
returned_null: "pl_inode_get" returns null (checked 18 out of 21 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:411:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:414:17:
cond_false: Condition "ret == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:417:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
cond_true: Condition "!pl_inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
var_tested_null: "pl_inode" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:421:25:
goto: Jumping to label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:446:1:
label: Reached label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:447:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:449:9:
return_null_var: Returning "pl_inode", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:339:
example_assign: Example 1: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:341:
example_checked: Example 1 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:534:
example_assign: Example 2: Assigning: "pinode" = return value from "pl_inode_get(this, parent)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:535:
example_checked: Example 2 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:859:
example_assign: Example 3: Assigning: "pinode" = return value from "pl_inode_get(this, inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:860:
example_checked: Example 3 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:481:
example_assign: Example 4: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:482:
example_checked: Example 4 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1265:
example_assign: Example 5: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1267:
example_checked: Example 5 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:2465:
var_assigned: Assigning: "pl_inode" = null return value from "pl_inode_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:2467:
dereference: Dereferencing a pointer that might be null "&pl_inode->mutex" when calling "pthread_mutex_lock".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nfs-fops.c:135:
cond_false: Condition "!nfsx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nfs-fops.c:136:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nfs-fops.c:138:
returned_null: "mem_get" returns null (checked 58 out of 60 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:672:9:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:676:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:9:
cond_true: Condition "!pool_list", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:680:17:
return_null: Explicitly returning null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:582:
example_assign: Example 1: Assigning: "ptr" = return value from "mem_get(mem_pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:584:
example_checked: Example 1 (cont.): "ptr" has its value checked in "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/rbthash.c:176:
example_assign: Example 2: Assigning: "entry" = return value from "mem_get(tbl->entrypool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/rbthash.c:177:
example_checked: Example 2 (cont.): "entry" has its value checked in "entry".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:82:
example_assign: Example 3: Assigning: "saved_frame" = return value from "mem_get(rpcreq->conn->rpc_clnt->saved_frames_pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:83:
example_checked: Example 3 (cont.): "saved_frame" has its value checked in "saved_frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:1622:
example_assign: Example 4: Assigning: "rpcreq" = return value from "mem_get(rpc->reqpool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:1623:
example_checked: Example 4 (cont.): "rpcreq" has its value checked in "rpcreq == NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:2023:
example_assign: Example 5: Assigning: "request_ctx" = return value from "mem_get(device->request_ctx_pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:2024:
example_checked: Example 5 (cont.): "request_ctx" has its value checked in "request_ctx == NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nfs-fops.c:138:
var_assigned: Assigning: "l" = null return value from "mem_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nfs-fops.c:140:
dereference: Dereferencing a pointer that might be null "l" when calling "memset".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:738:
cond_false: Condition "!glusterd_is_quorum_option(fullkey)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:739:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:741:
cond_false: Condition "key == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:744:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:746:
returned_null: "xlator_volume_option_get" returns null (checked 33 out of 34 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:909:9:
cond_true: Condition "&vol_list->list != &xl->volume_options", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:911:17:
cond_false: Condition "found", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:912:25:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:911:17:
var_tested_null: "found" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:913:9:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:909:9:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:909:9:
cond_false: Condition "&vol_list->list != &xl->volume_options", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:913:9:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:915:9:
return_null_var: Returning "found", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/graph.c:356:
example_assign: Example 1: Assigning: "found" = return value from "xlator_volume_option_get(xl, key)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/graph.c:358:
example_checked: Example 1 (cont.): "found" has its value checked in "found".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1221:
example_assign: Example 2: Assigning: "opt" = return value from "xlator_volume_option_get(this, key)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1221:
example_checked: Example 2 (cont.): "opt" has its value checked in "opt".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1224:
example_assign: Example 3: Assigning: "opt" = return value from "xlator_volume_option_get(this, key)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1224:
example_checked: Example 3 (cont.): "opt" has its value checked in "opt".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1216:
example_assign: Example 4: Assigning: "opt" = return value from "xlator_volume_option_get(this, key)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1216:
example_checked: Example 4 (cont.): "opt" has its value checked in "opt".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1214:
example_assign: Example 5: Assigning: "opt" = return value from "xlator_volume_option_get(this, key)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:1214:
example_checked: Example 5 (cont.): "opt" has its value checked in "opt".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:746:
var_assigned: Assigning: "opt" = null return value from "xlator_volume_option_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:747:
dereference: Dereferencing a pointer that might be null "opt" when calling "xlator_option_validate".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/options.c:856:9:
deref_parm: Directly dereferencing parameter "opt".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1069:
cond_true: Condition "strlen(sample->identifier) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1072:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1085:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1088:
cond_true: Condition "!xlator_name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1092:
cond_true: Condition "!instance_name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1097:
cond_true: Condition "!username", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1098:
returned_null: "__gf_malloc" returns null (checked 40 out of 48 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
null_return: Calling "__gf_default_malloc" which might return null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_true: Condition "!ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
var_tested_null: "ptr" is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_null_var: Returning "ptr", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_null_fn: Returning the return value of "__gf_default_malloc", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:484:
example_assign: Example 1: Assigning: "newvec" = return value from "__gf_malloc(bytecount, gf_common_mt_iovec, "gf_common_mt_iovec")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:485:
example_checked: Example 1 (cont.): "newvec" has its value checked in "newvec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1974:
example_assign: Example 2: Assigning: "tmp_brick" = return value from "__gf_malloc(2048UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1976:
example_checked: Example 2 (cont.): "tmp_brick" has its value checked in "tmp_brick".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4187:
example_assign: Example 3: Assigning: "spec" = return value from "__gf_malloc(rsp.op_ret + 1, cli_mt_char, "cli_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4188:
example_checked: Example 3 (cont.): "spec" has its value checked in "spec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:544:
example_assign: Example 4: Assigning: "buf" = return value from "__gf_malloc(blk_size * 1UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:545:
example_checked: Example 4 (cont.): "buf" has its value checked in "buf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:655:
example_assign: Example 5: Assigning: "newptr" = return value from "__gf_malloc(size, gf_common_mt_memdup, "gf_common_mt_memdup")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:656:
example_checked: Example 5 (cont.): "newptr" has its value checked in "newptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1098:
var_assigned: Assigning: "username" = null return value from "__gf_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1099:
dereference: Dereferencing a pointer that might be null "username" when calling "sprintf".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1069:
cond_true: Condition "strlen(sample->identifier) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1072:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1085:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1088:
cond_true: Condition "!xlator_name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1092:
cond_true: Condition "!instance_name", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1097:
cond_false: Condition "!username", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1100:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1104:
cond_true: Condition "!group_name", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1105:
returned_null: "__gf_malloc" returns null (checked 40 out of 48 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
null_return: Calling "__gf_default_malloc" which might return null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_true: Condition "!ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
var_tested_null: "ptr" is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_null_var: Returning "ptr", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_null_fn: Returning the return value of "__gf_default_malloc", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:484:
example_assign: Example 1: Assigning: "newvec" = return value from "__gf_malloc(bytecount, gf_common_mt_iovec, "gf_common_mt_iovec")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:485:
example_checked: Example 1 (cont.): "newvec" has its value checked in "newvec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1974:
example_assign: Example 2: Assigning: "tmp_brick" = return value from "__gf_malloc(2048UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:1976:
example_checked: Example 2 (cont.): "tmp_brick" has its value checked in "tmp_brick".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4187:
example_assign: Example 3: Assigning: "spec" = return value from "__gf_malloc(rsp.op_ret + 1, cli_mt_char, "cli_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-rpc-ops.c:4188:
example_checked: Example 3 (cont.): "spec" has its value checked in "spec".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:544:
example_assign: Example 4: Assigning: "buf" = return value from "__gf_malloc(blk_size * 1UL, gf_common_mt_char, "gf_common_mt_char")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd-mgmt.c:545:
example_checked: Example 4 (cont.): "buf" has its value checked in "buf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:655:
example_assign: Example 5: Assigning: "newptr" = return value from "__gf_malloc(size, gf_common_mt_memdup, "gf_common_mt_memdup")".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.h:656:
example_checked: Example 5 (cont.): "newptr" has its value checked in "newptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1105:
var_assigned: Assigning: "group_name" = null return value from "__gf_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/io-stats/src/io-stats.c:1106:
dereference: Dereferencing a pointer that might be null "group_name" when calling "sprintf".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4109:
cond_false: Condition "!dirp", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4114:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4116:
cond_true: Condition "count > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4119:
cond_false: Condition "!entry", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4119:
cond_false: Condition "*__errno_location() != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4120:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4122:
cond_false: Condition "entry->d_ino != stbuf->st_ino", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4123:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4138:
cond_true: Condition "type & (2 /* 1 << 1 */)", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4147:
returned_null: "gf_dirent_for_name" returns null (checked 15 out of 17 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.c:156:9:
cond_true: Condition "!gf_dirent", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.c:157:17:
return_null: Explicitly returning null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/default-args.c:1102:
example_assign: Example 1: Assigning: "stub_entry" = return value from "gf_dirent_for_name(entry->d_name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/default-args.c:1103:
example_checked: Example 1 (cont.): "stub_entry" has its value checked in "stub_entry".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.c:207:
example_assign: Example 2: Assigning: "sink" = return value from "gf_dirent_for_name(source->d_name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.c:208:
example_checked: Example 2 (cont.): "sink" has its value checked in "sink".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:5215:
example_assign: Example 3: Assigning: "entry" = return value from "gf_dirent_for_name(orig_entry->d_name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-common.c:5216:
example_checked: Example 3 (cont.): "entry" has its value checked in "entry".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:788:
example_assign: Example 4: Assigning: "entry" = return value from "gf_dirent_for_name(orig_entry->d_name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:789:
example_checked: Example 4 (cont.): "entry" has its value checked in "entry".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:870:
example_assign: Example 5: Assigning: "entry" = return value from "gf_dirent_for_name(orig_entry->d_name)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/tier-common.c:871:
example_checked: Example 5 (cont.): "entry" has its value checked in "entry".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4147:
var_assigned: Assigning: "gf_entry" = null return value from "gf_dirent_for_name".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix.c:4148:
dereference: Dereferencing a null pointer "gf_entry".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1664:
cond_false: Condition "!graph", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1664:
cond_false: Condition "!volinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1664:
cond_false: Condition "!set_dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1664:
cond_false: Condition "!brickinfo", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1665:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1669:
returned_null: "volgen_graph_add" returns null (checked 32 out of 33 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:216:9:
cond_true: Condition "!shorttype", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:218:9:
cond_true: Condition "!*shorttype", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:220:9:
null_return: Calling "volgen_graph_add_as" which might return null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:178:9:
cond_false: Condition "!xl", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:179:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:181:9:
cond_true: Condition "volgen_graph_link(graph, xl)", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:184:17:
return_null: Explicitly returning null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:220:9:
return_null_fn: Returning the return value of "volgen_graph_add_as", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:5741:
example_assign: Example 1: Assigning: "xl" = return value from "volgen_graph_add(graph, "features/snapview-server", volinfo->volname)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:5743:
example_checked: Example 1 (cont.): "xl" has its value checked in "xl".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1732:
example_assign: Example 2: Assigning: "xl" = return value from "volgen_graph_add(graph, "features/access-control", volinfo->volname)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1734:
example_checked: Example 2 (cont.): "xl" has its value checked in "xl".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1559:
example_assign: Example 3: Assigning: "xl" = return value from "volgen_graph_add(graph, "features/arbiter", volinfo->volname)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1560:
example_checked: Example 3 (cont.): "xl" has its value checked in "xl".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2667:
example_checked: Example 4: "volgen_graph_add(graph, vme->voltype, volname)" has its value checked in "volgen_graph_add(graph, vme->voltype, volname)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:2644:
example_checked: Example 5: "volgen_graph_add(graph, vme->voltype, volinfo->volname)" has its value checked in "volgen_graph_add(graph, vme->voltype, volinfo->volname)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1669:
var_assigned: Assigning: "xl" = null return value from "volgen_graph_add".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:1673:
dereference: Dereferencing a pointer that might be null "xl" when calling "xlator_set_option".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:232:9:
cond_true: Condition "!dval", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:233:17:
deref_parm: Directly dereferencing parameter "xl".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2702:
cond_false: Condition "netaddr == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2703:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2706:
cond_false: Condition "inet_pton(2, ipaddr, &sin1.sin_addr) == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2707:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2710:
returned_null: "strchr" returns null (checked 100 out of 111 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-parser.c:5366:
example_checked: Example 1: "strchr(volname, 47)" has its value checked in "strchr(volname, 47)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4098:
example_assign: Example 2: Assigning: "v" = return value from "strchr(resbuf, 58)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4099:
example_checked: Example 2 (cont.): "v" has its value checked in "v".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/fuse-util/fusermount.c:497:
example_assign: Example 3: Assigning: "s" = return value from "strchr(line, 35)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/contrib/fuse-util/fusermount.c:498:
example_checked: Example 3 (cont.): "s" has its value checked in "s != NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:746:
example_assign: Example 4: Assigning: "equals" = return value from "strchr(arg, 61)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:747:
example_checked: Example 4 (cont.): "equals" has its value checked in "equals".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2335:
example_assign: Example 5: Assigning: "endptr" = return value from "strchr(tmp, 37)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:2336:
example_checked: Example 5 (cont.): "endptr" has its value checked in "endptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2710:
var_assigned: Assigning: "slash" = null return value from "strchr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:2711:
dereference: Dereferencing a null pointer "slash".
Error: NULL_RETURNS:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:450:
cond_false: Condition "!svc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:450:
cond_false: Condition "!trans", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:451:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:459:
returned_null: "mem_get" returns null (checked 58 out of 60 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:672:9:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:676:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:9:
cond_true: Condition "!pool_list", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:680:17:
return_null: Explicitly returning null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:582:
example_assign: Example 1: Assigning: "ptr" = return value from "mem_get(mem_pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:584:
example_checked: Example 1 (cont.): "ptr" has its value checked in "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/rbthash.c:176:
example_assign: Example 2: Assigning: "entry" = return value from "mem_get(tbl->entrypool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/rbthash.c:177:
example_checked: Example 2 (cont.): "entry" has its value checked in "entry".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:82:
example_assign: Example 3: Assigning: "saved_frame" = return value from "mem_get(rpcreq->conn->rpc_clnt->saved_frames_pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:83:
example_checked: Example 3 (cont.): "saved_frame" has its value checked in "saved_frame".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:1622:
example_assign: Example 4: Assigning: "rpcreq" = return value from "mem_get(rpc->reqpool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt.c:1623:
example_checked: Example 4 (cont.): "rpcreq" has its value checked in "rpcreq == NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:2023:
example_assign: Example 5: Assigning: "request_ctx" = return value from "mem_get(device->request_ctx_pool)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:2024:
example_checked: Example 5 (cont.): "request_ctx" has its value checked in "request_ctx == NULL".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:459:
var_assigned: Assigning: "req" = null return value from "mem_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:459:
dereference: Dereferencing a pointer that might be null "req" when calling "memset".
Error: NULL_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:378:
returned_null: "pl_inode_get" returns null (checked 18 out of 21 times).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:411:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:414:17:
cond_false: Condition "ret == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:417:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
cond_true: Condition "!pl_inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:420:17:
var_tested_null: "pl_inode" is null.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:421:25:
goto: Jumping to label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:446:1:
label: Reached label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:447:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:449:9:
return_null_var: Returning "pl_inode", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:339:
example_assign: Example 1: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:341:
example_checked: Example 1 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:534:
example_assign: Example 2: Assigning: "pinode" = return value from "pl_inode_get(this, parent)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/entrylk.c:535:
example_checked: Example 2 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:859:
example_assign: Example 3: Assigning: "pinode" = return value from "pl_inode_get(this, inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/inodelk.c:860:
example_checked: Example 3 (cont.): "pinode" has its value checked in "pinode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:481:
example_assign: Example 4: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:482:
example_checked: Example 4 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1265:
example_assign: Example 5: Assigning: "pl_inode" = return value from "pl_inode_get(this, fd->inode)".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/posix.c:1267:
example_checked: Example 5 (cont.): "pl_inode" has its value checked in "pl_inode".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:378:
var_assigned: Assigning: "pl_inode" = null return value from "pl_inode_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/locks/src/common.c:380:
dereference: Dereferencing a pointer that might be null "&pl_inode->mutex" when calling "pthread_mutex_lock".
Error: NULL_RETURNS:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:374:
returned_null: "synctask_get" returns null (checked 52 out of 65 times).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/globals.c:272:9:
null_return: Calling "pthread_getspecific" which might return null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/globals.c:272:9:
var_assign: Assigning: "synctask" = "pthread_getspecific(synctask_key)", which might be null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/globals.c:274:9:
return_null_var: Returning "synctask", which is null.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:473:
example_assign: Example 1: Assigning: "args.task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c:473:
example_checked: Example 1 (cont.): "args.task" has its value checked in "args.task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop-utils.c:357:
example_checked: Example 2: "synctask_get()" has its value checked in "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1230:
example_assign: Example 3: Assigning: "task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1230:
example_assign: Example 3 (cont.): Assigning: "args.task" = "task".  Both are now equal to the return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1230:
example_checked: Example 3 (cont.): "task" has its value checked in "task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1706:
example_assign: Example 4: Assigning: "task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1706:
example_assign: Example 4 (cont.): Assigning: "args.task" = "task".  Both are now equal to the return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1706:
example_checked: Example 4 (cont.): "task" has its value checked in "task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1618:
example_assign: Example 5: Assigning: "task" = return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1618:
example_assign: Example 5 (cont.): Assigning: "args.task" = "task".  Both are now equal to the return value from "synctask_get()".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:1618:
example_checked: Example 5 (cont.): "task" has its value checked in "task".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:374:
var_assigned: Assigning: "task" = null return value from "synctask_get".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syncop.c:375:
dereference: Dereferencing a null pointer "task".
Error: ORDER_REVERSAL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:774:
cond_false: Condition "!svc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:775:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:778:
cond_false: Condition "!drc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:779:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:781:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:781:
lock_acquire: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-drc.c:782:
lock_order: Calling "rpcsvc_unregister_notify" acquires lock "rpcsvc_state.rpclock" while holding lock "gf_lock_t.spinlock" (count: 1 / 2).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1791:9:
cond_false: Condition "!svc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1791:9:
cond_false: Condition "!notify", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1793:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1795:9:
getlock: Acquiring lock named "rpcsvc_state.rpclock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1797:17:
cond_true: Condition "&wrapper->list != &svc->notify", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1798:25:
cond_true: Condition "wrapper->notify == notify", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1798:25:
cond_true: Condition "mydata == wrapper->data", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1804:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1797:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1797:17:
cond_true: Condition "&wrapper->list != &svc->notify", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1798:25:
cond_true: Condition "wrapper->notify == notify", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1798:25:
cond_true: Condition "mydata == wrapper->data", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1804:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1797:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1797:17:
cond_false: Condition "&wrapper->list != &svc->notify", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1804:17:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1795:
lock_acquire: Example 1: Calling "pthread_mutex_lock" acquires lock "rpcsvc_state.rpclock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpcsvc.c:1801:
example_lock_order: Example 1 (cont.): Calling "__gf_free" acquires lock "gf_lock_t.spinlock" while holding "rpcsvc_state.rpclock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:295:9:
cond_false: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:298:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:300:9:
cond_false: Condition "!free_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:301:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:307:9:
cond_true: Condition "!(3405691582U == header->magic)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:310:9:
cond_false: Condition "!mem_acct", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:312:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:315:9:
cond_true: Condition "!(3131961357U == *((uint32_t *)((char *)free_ptr + header->size)))", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:324:17:
cond_true: Condition "!mem_acct->rec[header->type].num_allocs", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:327:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:329:9:
cond_true: Condition "__sync_sub_and_fetch(&mem_acct->refcnt, 1) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:330:17:
cond_true: Condition "mem_acct != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:338:9:
cond_true: Condition "ptr != NULL", taking true branch.
Error: ORDER_REVERSAL:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:337:
lock_acquire: Calling "pthread_mutex_lock" acquires lock "_client_fd_ctx.mutex".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:339:
lock_order: Calling "__insert_and_merge" acquires lock "gf_lock_t.spinlock" while holding lock "_client_fd_ctx.mutex" (count: 1 / 2).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:269:9:
cond_true: Condition "&conf->list != &fdctx->lock_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:270:17:
cond_true: Condition "!locks_overlap(conf, lock)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:271:25:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:324:9:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:269:9:
cond_false: Condition "&conf->list != &fdctx->lock_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:324:9:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:327:9:
cond_false: Condition "lock->fl_type != 2", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:329:16:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:330:17:
getlock: Acquiring lock named "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:151:2:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:295:9:
cond_false: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:298:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:300:9:
cond_false: Condition "!free_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:301:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:307:9:
cond_true: Condition "!(3405691582U == header->magic)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:310:9:
cond_false: Condition "!mem_acct", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:312:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:315:9:
cond_true: Condition "!(3131961357U == *((uint32_t *)((char *)free_ptr + header->size)))", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:324:17:
cond_true: Condition "!mem_acct->rec[header->type].num_allocs", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:327:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:329:9:
cond_true: Condition "__sync_sub_and_fetch(&mem_acct->refcnt, 1) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:330:17:
cond_true: Condition "mem_acct != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:338:9:
cond_true: Condition "ptr != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:73:
lock_acquire: Example 1: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:85:
example_lock_order: Example 1 (cont.): Calling "dump_client_locks_fd" acquires lock "_client_fd_ctx.mutex" while holding "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:46:9:
getlock: Acquiring lock named "_client_fd_ctx.mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:48:17:
cond_true: Condition "&lock->list != &fdctx->lock_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:51:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:48:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:48:17:
cond_true: Condition "&lock->list != &fdctx->lock_list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:51:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:48:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:48:17:
cond_false: Condition "&lock->list != &fdctx->lock_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-lk.c:51:17:
loop_end: Reached end of loop.
Error: ORDER_REVERSAL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:337:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:337:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:338:
cond_false: Condition "!client", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:338:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:339:
cond_false: Condition "!flags", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:339:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:343:
cond_false: Condition "serv_ctx == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:348:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:350:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:350:
lock_acquire: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:352:
cond_true: Condition "serv_ctx->fdtable", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:352:
cond_true: Condition "flags & POSIX_LOCKS", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/server/src/server-helpers.c:353:
lock_order: Calling "gf_fd_fdtable_get_all_fds" acquires lock "_fdtable.lock" while holding lock "gf_lock_t.spinlock" (count: 1 / 3).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:148:9:
cond_true: Condition "fdtable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:149:17:
getlock: Acquiring lock named "_fdtable.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1088:
lock_acquire: Example 1: Calling "pthread_mutex_trylock" acquires lock "_fdtable.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1106:
example_lock_order: Example 1 (cont.): Calling "fdentry_dump" acquires lock "gf_lock_t.spinlock" while holding "_fdtable.lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1067:9:
cond_false: Condition "!fdentry", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1068:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1070:9:
cond_false: Condition "-2 != fdentry->next_free", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1071:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1073:9:
cond_true: Condition "fdentry->fd", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1074:17:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1047:9:
cond_false: Condition "!fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1048:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1055:9:
cond_true: Condition "fd->inode", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:1058:17:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2332:9:
cond_false: Condition "!inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2333:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2338:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2338:9:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2339:9:
cond_false: Condition "ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2341:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2349:17:
cond_true: Condition "inode->_ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2353:25:
cond_true: Condition "inode_ctx == NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2354:33:
goto: Jumping to label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2380:1:
label: Reached label "unlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2381:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2383:9:
cond_false: Condition "inode_ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.c:2391:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:225:
lock_acquire: Example 2: Calling "pthread_mutex_lock" acquires lock "_fdtable.lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.c:228:
example_lock_order: Example 2 (cont.): Calling "__gf_free" acquires lock "gf_lock_t.spinlock" while holding "_fdtable.lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:295:9:
cond_false: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:298:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:300:9:
cond_false: Condition "!free_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:301:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:307:9:
cond_true: Condition "!(3405691582U == header->magic)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:310:9:
cond_false: Condition "!mem_acct", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:312:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:315:9:
cond_true: Condition "!(3131961357U == *((uint32_t *)((char *)free_ptr + header->size)))", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:324:17:
cond_true: Condition "!mem_acct->rec[header->type].num_allocs", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:327:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:329:9:
cond_true: Condition "__sync_sub_and_fetch(&mem_acct->refcnt, 1) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:330:17:
cond_true: Condition "mem_acct != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:338:9:
cond_true: Condition "ptr != NULL", taking true branch.
Error: ORDER_REVERSAL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:143:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:143:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:153:
cond_false: Condition "file == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:160:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:162:
lock_acquire: Calling "ra_file_lock" acquires lock "ra_file.file_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.h:155:9:
lock: "pthread_mutex_lock" locks "file->file_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:164:
cond_true: Condition "op_ret >= 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:169:
cond_false: Condition "!page", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:175:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:190:
cond_true: Condition "page->dirty", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:190:
cond_false: Condition "page->poisoned", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:193:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:195:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:198:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:200:
cond_true: Condition "page->vector", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/page.c:202:
lock_order: Calling "__gf_free" acquires lock "gf_lock_t.spinlock" while holding lock "ra_file.file_lock" (count: 1 / 6).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:295:9:
cond_false: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:298:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:300:9:
cond_false: Condition "!free_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:301:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:307:9:
cond_true: Condition "!(3405691582U == header->magic)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:310:9:
cond_false: Condition "!mem_acct", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:312:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:315:9:
cond_true: Condition "!(3131961357U == *((uint32_t *)((char *)free_ptr + header->size)))", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:318:9:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:324:17:
cond_true: Condition "!mem_acct->rec[header->type].num_allocs", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:327:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:329:9:
cond_true: Condition "__sync_sub_and_fetch(&mem_acct->refcnt, 1) == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:330:17:
cond_true: Condition "mem_acct != NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:338:9:
cond_true: Condition "ptr != NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:975:
lock_acquire: Example 1: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:983:
example_lock_order: Example 1 (cont.): Calling "flush_region" acquires lock "ra_file.file_lock" while holding "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:222:9:
getlock: Acquiring lock named "ra_file.file_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.h:155:9:
lock: "pthread_mutex_lock" locks "file->file_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav->offset < offset + size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:229:25:
cond_true: Condition "trav->offset >= offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:230:33:
cond_true: Condition "!trav->waitq", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:232:33:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:239:33:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_false: Condition "trav->offset < offset + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:877:
lock_acquire: Example 2: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:885:
example_lock_order: Example 2 (cont.): Calling "flush_region" acquires lock "ra_file.file_lock" while holding "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:222:9:
getlock: Acquiring lock named "ra_file.file_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.h:155:9:
lock: "pthread_mutex_lock" locks "file->file_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav->offset < offset + size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:229:25:
cond_true: Condition "trav->offset >= offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:230:33:
cond_true: Condition "!trav->waitq", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:232:33:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:239:33:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_false: Condition "trav->offset < offset + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:917:
lock_acquire: Example 3: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:932:
example_lock_order: Example 3 (cont.): Calling "flush_region" acquires lock "ra_file.file_lock" while holding "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:222:9:
getlock: Acquiring lock named "ra_file.file_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.h:155:9:
lock: "pthread_mutex_lock" locks "file->file_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav->offset < offset + size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:229:25:
cond_true: Condition "trav->offset >= offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:230:33:
cond_true: Condition "!trav->waitq", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:232:33:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:239:33:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_false: Condition "trav->offset < offset + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:737:
lock_acquire: Example 4: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:753:
example_lock_order: Example 4 (cont.): Calling "flush_region" acquires lock "ra_file.file_lock" while holding "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:222:9:
getlock: Acquiring lock named "ra_file.file_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.h:155:9:
lock: "pthread_mutex_lock" locks "file->file_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav->offset < offset + size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:229:25:
cond_true: Condition "trav->offset >= offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:230:33:
cond_true: Condition "!trav->waitq", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:232:33:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:239:33:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_false: Condition "trav->offset < offset + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1025:
lock_acquire: Example 5: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:1033:
example_lock_order: Example 5 (cont.): Calling "flush_region" acquires lock "ra_file.file_lock" while holding "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:222:9:
getlock: Acquiring lock named "ra_file.file_lock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.h:155:9:
lock: "pthread_mutex_lock" locks "file->file_lock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav->offset < offset + size", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:229:25:
cond_true: Condition "trav->offset >= offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:230:33:
cond_true: Condition "!trav->waitq", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:232:33:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:239:33:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_true: Condition "trav != &file->pages", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:225:17:
cond_false: Condition "trav->offset < offset + size", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/read-ahead/src/read-ahead.c:242:17:
loop_end: Reached end of loop.
Error: ORDER_REVERSAL:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2105:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2106:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2108:
cond_true: Condition "event == GF_EVENT_TRANSLATOR_OP", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2114:
switch: Switch case value "1".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2180:
switch_case: Reached case "1".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2185:
cond_false: Condition "!priv->active", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2185:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2186:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2190:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2192:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2194:
cond_false: Condition "priv->bflags.barrier_ext == _gf_true", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2197:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2199:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2201:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2208:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2211:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2211:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2217:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2217:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2221:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2225:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2226:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2229:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2236:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2243:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2245:
lock_acquire: Calling "pthread_mutex_lock" acquires lock "barrier_notify.bnotify_mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2246:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2246:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2252:
cond_true: Condition "priv->bn.bnotify == _gf_true", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2256:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2256:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2292:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2293:
cond_true: Condition "bclean_req", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog.c:2294:
lock_order: Calling "changelog_barrier_cleanup" acquires lock "gf_lock_t.spinlock" while holding lock "barrier_notify.bnotify_mutex" (count: 1 / 2).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1818:9:
cond_true: Condition "use_spinlocks", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1818:9:
getlock: Acquiring lock named "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1820:9:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1823:9:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1823:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1828:9:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1828:9:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1842:2:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-rt.c:58:
lock_acquire: Example 1: Calling "pthread_spin_lock" acquires lock "gf_lock_t.spinlock".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-rt.c:60:
example_lock_order: Example 1 (cont.): Calling "changelog_handle_change" acquires lock "barrier_notify.bnotify_mutex" while holding "gf_lock_t.spinlock".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1087:9:
cond_true: Condition "cld->cld_type == CHANGELOG_TYPE_ROLLOVER", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1089:17:
getlock: Acquiring lock named "barrier_notify.bnotify_mutex".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:981:9:
getlock: Acquiring lock named "barrier_notify.bnotify_mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:423:9:
cond_true: Condition "priv->changelog_fd != -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:425:17:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:431:17:
cond_true: Condition "ret == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:433:17:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:438:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:449:9:
cond_true: Condition "cl_empty_flag == 1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:451:17:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:460:9:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:473:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:475:9:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:475:9:
cond_false: Condition "cl_empty_flag == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:477:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:479:9:
cond_true: Condition "!ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:480:17:
cond_true: Condition "cl_empty_flag", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:484:17:
cond_true: Condition "ret == -1", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:488:25:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:497:2:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:504:9:
cond_true: Condition "priv->explicit_rollover", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:507:17:
getlock: Acquiring lock named "barrier_notify.bnotify_mutex".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:509:25:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:515:25:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:520:25:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:983:9:
cond_false: Condition "!ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:984:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1092:17:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1096:17:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/src/changelog-helpers.c:1123:2:
label: Reached label "out".
Error: OVERFLOW_BEFORE_WIDEN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:649:
overflow_before_widen: Potentially overflowing expression "options->send_count * 128" with type "int" (32 bits, signed) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "uint64_t" (64 bits, unsigned).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:649:
remediation: To avoid overflow, cast either "options->send_count" or "128" to type "uint64_t".
Error: OVERRUN:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1480:
assignment: Assigning: "rem" = "1024UL".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1482:
cond_false: Condition "!fs", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1482:
cond_false: Condition "!fs->ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1486:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1490:
switch: Switch case value "'h'".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1491:
switch_case: Reached case "'h'".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1495:
cond_true: Condition "usage->sysrq", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs.c:1496:
overrun-buffer-arg: Overrunning array "msg" of 1024 bytes by passing it to a function which accesses it at byte offset 1024 using argument "rem" (which evaluates to 1024).
Error: OVERRUN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:4540:
cond_true: Condition "fop <= GF_FOP_MAXVALUE", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:4540:
cond_at_most: Checking "fop <= GF_FOP_MAXVALUE" implies that "fop" may be up to 55 on the true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:4541:
overrun-local: Overrunning array "str_map" of 55 8-byte elements at element index 55 (byte offset 440) using index "fop" (which evaluates to 55).
Error: OVERRUN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:180:
cond_true: Condition "op_no < GF_FOP_MAXVALUE", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:180:
cond_at_most: Checking "op_no < GF_FOP_MAXVALUE" implies that "op_no" may be up to 54 on the true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:182:
overrun-local: Overrunning array "error_no_list" of 46 84-byte elements at element index 54 (byte offset 4536) using index "op_no" (which evaluates to 54).
Error: OVERRUN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:344:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:350:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:352:
cond_true: Condition "count % failure_iter_no == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:353:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:357:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:359:
cond_false: Condition "error_no", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:361:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:364:
cond_false: Condition "op_no >= GF_FOP_MAXVALUE", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:365:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:364:
cond_at_most: Checking "op_no >= GF_FOP_MAXVALUE" implies that "op_no" may be up to 54 on the false branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/error-gen/src/error-gen.c:366:
overrun-local: Overrunning array "error_no_list" of 46 84-byte elements at element index 54 (byte offset 4536) using index "op_no" (which evaluates to 54).
Error: OVERRUN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
cond_false: Condition "!path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
cond_false: Condition "!parent", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
cond_false: Condition "!priv_base_path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:143:
cond_false: Condition "gf_uuid_is_null(gfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:146:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:152:
cond_true: Condition "top < 2048 /* 4096 / 2 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:155:
cond_false: Condition "__is_root_gfid(tmp_gfid)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:163:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:169:
cond_false: Condition "len < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:179:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:183:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:183:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:183:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:185:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&"/"[1] - (size_t)(void const *)"/" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:185:
cond_true: Condition "(char const *)"/"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:185:
cond_true: Condition "(char const *)"/"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:191:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:152:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:152:
cond_true: Condition "top < 2048 /* 4096 / 2 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:152:
cond_at_most: Checking "top < 2048" implies that "top" may be up to 2047 on the true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:154:
incr: Incrementing "top". The value of "top" may now be up to 2048.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:155:
cond_true: Condition "__is_root_gfid(tmp_gfid)", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/storage/posix/src/posix-handle.c:161:
overrun-local: Overrunning array "dir_stack" of 2048 8-byte elements at element index 2048 (byte offset 16384) using index "top" (which evaluates to 2048).
Error: OVERRUN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-code-x64.c:50:
cond_true: Condition "builder->regs > 11", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-code-x64.c:50:
cond_at_least: Checking "builder->regs > 11U" implies that "builder->regs" is at least 12 on the true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-code-x64.c:53:
assignment: Assigning: "i" = "builder->regs". The value of "i" is now at least 12.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-code-x64.c:53:
cond_true: Condition "i > 7", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/ec/src/ec-code-x64.c:54:
overrun-local: Overrunning array "ec_code_x64_regmap" of 11 4-byte elements at element index 11 (byte offset 44) using index "i - 1U" (which evaluates to 11).
Error: OVERRUN:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:464:
cond_true: Condition "true", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:466:
alias: Assigning: "state.death_row.next" = "&state.death_row". "state.death_row.next" now points to element 0 of "state.death_row" (which consists of 1 16-byte elements).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:472:
cond_true: Condition "&pool_list->thr_list != &pool_threads", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:475:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:472:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:472:
cond_true: Condition "&pool_list->thr_list != &pool_threads", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:475:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:472:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:472:
cond_false: Condition "&pool_list->thr_list != &pool_threads", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:475:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:478:
cond_true: Condition "elapsed.tv_usec < 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:484:
alias: Assigning: "pool_list" = "(char *)state.death_row.next - 0UL". "pool_list" now points to byte 0 of "state.death_row" (which consists of 16 bytes).
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:484:
cond_true: Condition "&pool_list->thr_list != &state.death_row", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:486:
cond_true: Condition "i < 14U /* 20 - 7 + 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:491:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:486:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:486:
cond_true: Condition "i < 14U /* 20 - 7 + 1 */", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:486:
cond_at_most: Checking "i < 14U" implies that "i" may be up to 13 on the true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:487:
alias: Assigning: "pt_pool" = "&pool_list->pools[i]". "pt_pool" may now point to as high as byte 312 of "state.death_row" (which consists of -8 bytes).
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:488:
overrun-local: Overrunning array of -8 bytes at byte offset 312 by dereferencing pointer "pt_pool".
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:2309:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:2309:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:2309:
name_at_decl_position: variable "xl" (declared at line 2320)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:2316:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:2316:
caretline:                         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/glusterfsd/src/glusterfsd.c:2316:
name_at_decl_position: variable "xl" (declared at line 2320)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3196:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3196:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3196:
name_at_decl_position: variable "init_attr" (declared at line 3213)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3206:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3206:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c:3206:
name_at_decl_position: variable "init_attr" (declared at line 3213)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:693:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:693:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:693:
name_at_decl_position: variable "string" (declared at line 694)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:781:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:781:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:781:
name_at_decl_position: variable "string" (declared at line 782)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:820:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:820:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:820:
name_at_decl_position: variable "string" (declared at line 821)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:844:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:844:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/debug/trace/src/trace.c:844:
name_at_decl_position: variable "string" (declared at line 845)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2398:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2398:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2398:
name_at_decl_position: variable "ictx" (declared at line 2407)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2400:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2400:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2400:
name_at_decl_position: variable "ictx" (declared at line 2407)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2401:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2401:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2401:
name_at_decl_position: variable "ictx" (declared at line 2407)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2403:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2403:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2403:
name_at_decl_position: variable "ictx" (declared at line 2407)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2404:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2404:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:2404:
name_at_decl_position: variable "ictx" (declared at line 2407)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11041:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11041:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11041:
name_at_decl_position: variable "ictx" (declared at line 11050)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11043:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11043:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11043:
name_at_decl_position: variable "ictx" (declared at line 11050)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11044:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11044:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11044:
name_at_decl_position: variable "ictx" (declared at line 11050)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11046:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11046:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11046:
name_at_decl_position: variable "ictx" (declared at line 11050)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11047:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11047:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/jbr-server/src/jbr-cg.c:11047:
name_at_decl_position: variable "ictx" (declared at line 11050)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2437:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2437:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2437:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2445:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2445:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2445:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2450:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2450:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2450:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2455:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2455:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2455:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2463:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2463:
caretline:                         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2463:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2469:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2469:
caretline:                         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2469:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2477:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2477:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2477:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2486:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2486:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2486:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2510:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2510:
caretline:                 ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/nlm4.c:2510:
name_at_decl_position: variable "pid_file" (declared at line 2517)
Error: PW.BRANCH_PAST_INITIALIZATION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:44:
branch_past_initialization: transfer of control bypasses initialization of:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:44:
caretline:         ^
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client.c:44:
name_at_decl_position: variable "conf" (declared at line 46)
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "../../libglusterfs/src/xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-fops.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
include_recursion: #include file "../../libglusterfs/src/fd.h" includes itself: fd.h -> fd-lk.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-fops.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
include_recursion: #include file "../../libglusterfs/src/stack.h" includes itself: stack.h -> xlator.h -> stack.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-mgmt.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/usr/include/libxml2/libxml/xmlregexp.h:42:
include_recursion: #include file "/usr/include/libxml2/libxml/tree.h" includes itself: tree.h -> xmlregexp.h -> tree.h
/usr/include/libxml2/libxml/xmlregexp.h:42:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c'
/usr/include/libxml2/libxml/xmlregexp.h:42:
caretline:                         ^
Error: PW.INCLUDE_RECURSION:
/usr/include/libxml2/libxml/globals.h:22:
include_recursion: #include file "/usr/include/libxml2/libxml/xmlmemory.h" includes itself: xmlmemory.h -> threads.h -> globals.h -> xmlmemory.h
/usr/include/libxml2/libxml/globals.h:22:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c'
/usr/include/libxml2/libxml/globals.h:22:
caretline:                              ^
Error: PW.INCLUDE_RECURSION:
/usr/include/libxml2/libxml/globals.h:173:
include_recursion: #include file "/usr/include/libxml2/libxml/threads.h" includes itself: threads.h -> globals.h -> threads.h
/usr/include/libxml2/libxml/globals.h:173:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c'
/usr/include/libxml2/libxml/globals.h:173:
caretline:                            ^
Error: PW.INCLUDE_RECURSION:
/usr/include/libxml2/libxml/parser.h:810:
include_recursion: #include file "/usr/include/libxml2/libxml/encoding.h" includes itself: encoding.h -> tree.h -> xmlmemory.h -> threads.h -> globals.h -> parser.h -> encoding.h
/usr/include/libxml2/libxml/parser.h:810:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c'
/usr/include/libxml2/libxml/parser.h:810:
caretline:                             ^
Error: PW.INCLUDE_RECURSION:
/usr/include/libxml2/libxml/hash.h:29:
include_recursion: #include file "/usr/include/libxml2/libxml/parser.h" includes itself: parser.h -> hash.h -> parser.h
/usr/include/libxml2/libxml/hash.h:29:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c'
/usr/include/libxml2/libxml/hash.h:29:
caretline:                           ^
Error: PW.INCLUDE_RECURSION:
/usr/include/libxml2/libxml/xmlIO.h:117:
include_recursion: #include file "/usr/include/libxml2/libxml/globals.h" includes itself: globals.h -> parser.h -> xmlIO.h -> globals.h
/usr/include/libxml2/libxml/xmlIO.h:117:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-cmd-global.c'
/usr/include/libxml2/libxml/xmlIO.h:117:
caretline:                            ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
include_recursion: #include file "../../libglusterfs/src/globals.h" includes itself: globals.h -> xlator.h -> stack.h -> globals.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/geo-replication/src/gsyncd.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
caretline:                     ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/call-stub.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
include_recursion: #include file "fd.h" includes itself: fd.h -> fd-lk.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/call-stub.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
include_recursion: #include file "inode.h" includes itself: inode.h -> xlator.h -> gf-dirent.h -> inode.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/client_t.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
include_recursion: #include file "xlator.h" includes itself: xlator.h -> stack.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/client_t.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
include_recursion: #include file "stack.h" includes itself: stack.h -> xlator.h -> stack.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
include_recursion: #include file "globals.h" includes itself: globals.h -> xlator.h -> stack.h -> globals.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/ctx.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
caretline:                     ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:35:
include_recursion: #include file "fd.h" includes itself: fd.h -> xlator.h -> gf-dirent.h -> inode.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:35:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:35:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.h:19:
include_recursion: #include file "fd-lk.h" includes itself: fd-lk.h -> fd.h -> fd-lk.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.h:19:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.h:19:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "../../../libglusterfs/src/xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gfdb/gfdb_data_store.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
include_recursion: #include file "../../../libglusterfs/src/fd.h" includes itself: fd.h -> fd-lk.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gfdb/gfdb_data_store.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
include_recursion: #include file "../../../libglusterfs/src/stack.h" includes itself: stack.h -> xlator.h -> stack.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-lib/src/rpc-clnt-ping.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "../../../../libglusterfs/src/xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
include_recursion: #include file "../../../../libglusterfs/src/fd.h" includes itself: fd.h -> fd-lk.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/name.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
include_recursion: #include file "../../../../libglusterfs/src/stack.h" includes itself: stack.h -> xlator.h -> stack.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/rpc/rpc-transport/rdma/src/rdma.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/xlator.h:59:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
include_recursion: #include file "../../../../libglusterfs/src/inode.h" includes itself: inode.h -> xlator.h -> gf-dirent.h -> inode.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
include_recursion: #include file "../../../../libglusterfs/src/xlator.h" includes itself: xlator.h -> stack.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/cluster/dht/src/dht-shared.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "../../../../../libglusterfs/src/xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/dht2/dht2-client/src/dht2-client-main.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
include_recursion: #include file "../../../../../libglusterfs/src/fd.h" includes itself: fd.h -> fd-lk.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/dht2/dht2-client/src/dht2-client-main.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd-lk.h:14:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
include_recursion: #include file "../../../../../libglusterfs/src/inode.h" includes itself: inode.h -> xlator.h -> gf-dirent.h -> inode.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/dht2/dht2-common/src/dht2-common-map.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/gf-dirent.h:16:
caretline:                   ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
include_recursion: #include file "../../../../../libglusterfs/src/xlator.h" includes itself: xlator.h -> stack.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/experimental/dht2/dht2-common/src/dht2-common-map.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:28:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
include_recursion: #include file "../../../../../libglusterfs/src/globals.h" includes itself: globals.h -> xlator.h -> stack.h -> globals.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/changelog/lib/src/gf-changelog-api.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
caretline:                     ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
include_recursion: #include file "../../../../libglusterfs/src/globals.h" includes itself: globals.h -> xlator.h -> stack.h -> globals.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-bitd-svc.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/stack.h:32:
caretline:                     ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-pmap.h:22:
include_recursion: #include file "glusterd.h" includes itself: glusterd.h -> glusterd-pmap.h -> glusterd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-pmap.h:22:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-bitd-svc.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-pmap.h:22:
caretline:                      ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.h:15:
include_recursion: #include file "glusterd-utils.h" includes itself: glusterd-utils.h -> glusterd-peer-utils.h -> glusterd-utils.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.h:15:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-bitd-svc.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.h:15:
caretline:                            ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.h:27:
include_recursion: #include file "glusterd-peer-utils.h" includes itself: glusterd-peer-utils.h -> glusterd-utils.h -> glusterd-peer-utils.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.h:27:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-peer-utils.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.h:27:
caretline:                                 ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.h:25:
include_recursion: #include file "mount3-auth.h" includes itself: mount3-auth.h -> mount3.h -> mount3-auth.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.h:25:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3-auth.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.h:25:
caretline:                         ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3-auth.h:21:
include_recursion: #include file "mount3.h" includes itself: mount3.h -> mount3-auth.h -> mount3.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3-auth.h:21:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/nfs/server/src/mount3-auth.h:21:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
include_recursion: #include file "../../../../libglusterfs/src/xlator.h" includes itself: xlator.h -> gf-dirent.h -> inode.h -> xlator.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:32:
caretline:                    ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:35:
include_recursion: #include file "../../../../libglusterfs/src/fd.h" includes itself: fd.h -> xlator.h -> gf-dirent.h -> inode.h -> fd.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:35:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/inode.h:35:
caretline:                ^
Error: PW.INCLUDE_RECURSION:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.h:19:
include_recursion: #include file "../../../../libglusterfs/src/fd-lk.h" includes itself: fd-lk.h -> fd.h -> fd-lk.h
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.h:19:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/protocol/client/src/client-handshake.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/fd.h:19:
caretline:                   ^
Error: PW.PARAM_SET_BUT_NOT_USED:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:968:
param_set_but_not_used: parameter "op_ret" was set but never used
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/encryption/crypt/src/crypt.c:968:
caretline:                                  ^
Error: PW.PARAM_SET_BUT_NOT_USED:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:4355:
param_set_but_not_used: parameter "op_errno" was set but never used
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/quota/src/quota.c:4355:
caretline:                                                    ^
Error: PW.SIGNED_ONE_BIT_FIELD:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:161:
signed_one_bit_field: signed bit field of length 1
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:161:
caretline:                               ^
Error: PW.SIGNED_ONE_BIT_FIELD:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:163:
signed_one_bit_field: signed bit field of length 1
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:163:
caretline:                               ^
Error: PW.SIGNED_ONE_BIT_FIELD:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:164:
signed_one_bit_field: signed bit field of length 1
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:164:
caretline:                               ^
Error: PW.SIGNED_ONE_BIT_FIELD:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:165:
signed_one_bit_field: signed bit field of length 1
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:165:
caretline:                               ^
Error: PW.SIGNED_ONE_BIT_FIELD:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:166:
signed_one_bit_field: signed bit field of length 1
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/write-behind/src/write-behind.c:166:
caretline:                               ^
Error: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/glusterfs-acl.h:149:
useless_type_qualifier_on_return_type: type qualifier on return type is meaningless
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/glusterfs-acl.h:149:
primary_file: During compilation of file '/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/api/src/glfs-handleops.c'
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/glusterfs-acl.h:149:
caretline:               ^
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:615:
cond_false: Condition "!this->children", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:615:
cond_false: Condition "this->children->next", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:619:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:621:
cond_true: Condition "!this->parents", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:622:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:622:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:625:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:625:
var_assign: Assigning: "priv" = storage returned from "__gf_calloc(1UL, 96UL, gf_barrier_mt_priv_t, "gf_barrier_mt_priv_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:626:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:627:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:629:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:631:
cond_true: Condition "val_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:631:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:645:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/barrier/src/barrier.c:646:
leaked_storage: Variable "priv" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:967:
cond_false: Condition "!this->children", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:967:
cond_false: Condition "this->children->next", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:973:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:975:
cond_true: Condition "!this->parents", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:981:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:981:
var_assign: Assigning: "conf" = storage returned from "__gf_calloc(1UL, 448UL, gf_iot_mt_iot_conf_t, "gf_iot_mt_iot_conf_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:983:
cond_false: Condition "conf == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:987:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:989:
cond_false: Condition "(ret = pthread_cond_init(&conf->cond, NULL)) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:994:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:997:
cond_false: Condition "(ret = pthread_mutex_init(&conf->mutex, NULL)) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1002:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1005:
noescape: Resource "conf" is not freed or pointed-to in "set_stack_size".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:844:29:
noescape: "set_stack_size(iot_conf_t *)" does not free or save its parameter "conf".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1007:
cond_true: Condition "val_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1007:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1044:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1045:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1046:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/performance/io-threads/src/io-threads.c:1048:
leaked_storage: Variable "conf" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:172:
start: Starting defect path here.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:174:
cond_true: Condition "i < brick_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:176:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&" \n"[1] - (size_t)(void const *)" \n" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:176:
cond_true: Condition "(char const *)" \n"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:176:
cond_false: Condition "(char const *)" \n"[1] == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:178:
cond_false: Condition "brick == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:179:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:180:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&":"[1] - (size_t)(void const *)":" == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:180:
cond_true: Condition "(char const *)":"[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:180:
cond_true: Condition "(char const *)":"[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:181:
cond_false: Condition "brick == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:182:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:183:
alloc_arg: "getaddrinfo" allocates memory that is stored into "ai_info".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:184:
cond_false: Condition "ret != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:191:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:193:
cond_true: Condition "ai_list_tmp1 == NULL", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:198:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:255:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:258:
cond_true: Condition "&ai_list_tmp1->list != &ai_list->list", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:259:
cond_true: Condition "ai_list_tmp1->info", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:263:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:258:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:258:
cond_false: Condition "&ai_list_tmp1->list != &ai_list->list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:263:
loop_end: Reached end of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volume-ops.c:265:
leaked_storage: Variable "ai_info" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4024:
start: Starting defect path here.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4025:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4026:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4033:
alloc_arg: "_graph_get_decommissioned_children" allocates memory that is stored into "decommissioned_children".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
cond_true: Condition "xl_child", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3366:17:
cond_false: Condition "_xl_has_decommissioned_clients(cxl, volinfo)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3378:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3381:9:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
cond_true: Condition "xl_child", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3366:17:
cond_false: Condition "_xl_has_decommissioned_clients(cxl, volinfo)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3378:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3381:9:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
cond_true: Condition "xl_child", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3366:17:
cond_true: Condition "_xl_has_decommissioned_clients(cxl, volinfo)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3367:25:
cond_true: Condition "!*children", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3368:33:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3368:33:
var_assign: Assigning: "*children" = "__gf_calloc(16384UL, 1UL, gf_common_mt_char, "gf_common_mt_char")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3370:33:
cond_false: Condition "!*children", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3371:41:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3374:25:
cond_false: Condition "comma", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3375:33:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3381:9:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3364:9:
cond_false: Condition "xl_child", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:3381:9:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4035:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4036:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4037:
cond_true: Condition "decommissioned_children", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4038:
noescape: Resource "decommissioned_children" is not freed or pointed-to in "xlator_set_option".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:227:51:
noescape: "xlator_set_option(xlator_t *, char *, char *)" does not free or save its parameter "value".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4040:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4041:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4044:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4052:
cond_true: Condition "dup_volinfo", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:4055:
leaked_storage: Variable "decommissioned_children" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11970:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11970:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11973:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11973:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11975:
cond_false: Condition "!ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11975:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11978:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11983:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11985:
cond_true: Condition "strcasecmp(key, "all") == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11986:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12002:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "0 /* !_gf_true */", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "valid_all_vol_opts[i].option", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "!strcmp(key, "all")", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "_all", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "!_is_valid_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "!_all", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12006:
cond_true: Condition "valid_all_vol_opts[i].option", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12007:
alloc_fn: Storage is returned from allocation function "gf_strdup".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:187:9:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:187:9:
var_assign: Assigning: "dup_str" = "__gf_calloc(1UL, len, gf_common_mt_strdup, "gf_common_mt_strdup")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:189:9:
cond_false: Condition "!dup_str", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:190:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:192:9:
noescape: Resource "dup_str" is not freed or pointed-to in function "memcpy".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:194:9:
return_alloc: Returning allocated memory "dup_str".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12007:
var_assign: Assigning: "allvolopt" = storage returned from "gf_strdup(valid_all_vol_opts[i].option)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12009:
cond_false: Condition "!all_opts", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12010:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12013:
noescape: Resource "allvolopt" is not freed or pointed-to in "strcmp".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12013:
cond_true: Condition "strcmp(allvolopt, "cluster.max-op-version") == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12017:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12018:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12074:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_false: Condition "!all_opts", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12081:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12084:
leaked_storage: Variable "allvolopt" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11970:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11970:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11973:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11973:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11975:
cond_false: Condition "!ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11975:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11978:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11983:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11985:
cond_true: Condition "strcasecmp(key, "all") == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11986:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12002:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "0 /* !_gf_true */", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "valid_all_vol_opts[i].option", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "!strcmp(key, "all")", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "_all", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "!_is_valid_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "!_all", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12006:
cond_true: Condition "valid_all_vol_opts[i].option", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12009:
cond_false: Condition "!all_opts", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12010:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12013:
cond_false: Condition "strcmp(allvolopt, "cluster.max-op-version") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12021:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12028:
cond_true: Condition "!def_val", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12029:
cond_true: Condition "!strcmp(allvolopt, "cluster.op-version")", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12031:
alloc_arg: "gf_asprintf" allocates memory that is stored into "def_val".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:241:9:
alloc_arg: "gf_vasprintf" allocates memory that is stored into "*string_ptr".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:214:9:
cond_false: Condition "!string_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:214:9:
cond_false: Condition "!format", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:215:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:221:9:
alloc_fn: Storage is returned from allocation function "__gf_malloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
alloc_fn: Storage is returned from allocation function "__gf_default_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:108:9:
alloc_fn: Storage is returned from allocation function "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:108:9:
var_assign: Assigning: "ptr" = "malloc(size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:110:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:221:9:
var_assign: Assigning: "str" = "__gf_malloc(size, gf_common_mt_asprintf, "gf_common_mt_asprintf")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:222:9:
cond_false: Condition "str == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:226:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:227:9:
noescape: Resource "str" is not freed or pointed-to in function "vsnprintf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:229:9:
var_assign: Assigning: "*string_ptr" = "str".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12033:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12035:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12041:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12045:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12074:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_false: Condition "!all_opts", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12081:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12084:
leaked_storage: Variable "def_val" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11970:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11970:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11973:
cond_false: Condition "!priv", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11973:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11975:
cond_false: Condition "!ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11975:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11978:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11983:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11985:
cond_false: Condition "strcasecmp(key, "all") == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11987:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11988:
alloc_arg: "glusterd_check_option_exists" allocates memory that is stored into "key_fixed".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:750:9:
cond_true: Condition "!strchr(key, 46)", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:751:17:
cond_true: Condition "completion", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:752:25:
alloc_arg: "option_complete" allocates memory that is stored into "*completion".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:622:9:
cond_true: Condition "vme->key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:623:17:
cond_true: Condition "strcmp(strchr(vme->key, 46) + 1, key) != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:624:25:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:633:9:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:622:9:
cond_true: Condition "vme->key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:623:17:
cond_false: Condition "strcmp(strchr(vme->key, 46) + 1, key) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:624:25:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:626:17:
cond_false: Condition "*completion", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:632:25:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:633:9:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:622:9:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:622:9:
cond_true: Condition "vme->key", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:623:17:
cond_false: Condition "strcmp(strchr(vme->key, 46) + 1, key) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:624:25:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:626:17:
cond_true: Condition "*completion", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:626:17:
cond_false: Condition "strcmp(*completion, vme->key) != 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:632:25:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:633:9:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:622:9:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:622:9:
cond_false: Condition "vme->key", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:633:9:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:635:9:
cond_true: Condition "*completion", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:640:17:
alloc_fn: Storage is returned from allocation function "gf_strdup".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:187:9:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:187:9:
var_assign: Assigning: "dup_str" = "__gf_calloc(1UL, len, gf_common_mt_strdup, "gf_common_mt_strdup")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:189:9:
cond_false: Condition "!dup_str", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:190:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:192:9:
noescape: Resource "dup_str" is not freed or pointed-to in function "memcpy".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:194:9:
return_alloc: Returning allocated memory "dup_str".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:640:17:
var_assign: Assigning: "*completion" = "gf_strdup(*completion)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:641:17:
cond_false: Condition "!*completion", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:753:25:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:758:25:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:760:25:
cond_true: Condition "!!*completion", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-volgen.c:761:25:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11989:
cond_false: Condition "!exists", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:11999:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12000:
cond_true: Condition "key_fixed", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12001:
var_assign: Assigning: "key" = "key_fixed".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "0 /* !_gf_true */", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "valid_all_vol_opts[i].option", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
noescape: Resource "key" is not freed or pointed-to in "strcmp".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "!strcmp(key, "all")", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_true: Condition "_all", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "!_is_valid_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
cond_false: Condition "!_all", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12004:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12006:
cond_true: Condition "valid_all_vol_opts[i].option", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12009:
cond_true: Condition "!all_opts", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12009:
noescape: Resource "key" is not freed or pointed-to in "strcmp".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12009:
cond_true: Condition "strcmp(key, allvolopt) != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12010:
continue: Continuing loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12066:
loop: Looping back.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12006:
cond_false: Condition "valid_all_vol_opts[i].option", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12066:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12069:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_true: Condition "!all_opts", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12075:
cond_true: Condition "!key_found", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12076:
cond_true: Condition "err_str[0] == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12077:
noescape: Resource "key" is not freed or pointed-to in "snprintf".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12079:
cond_true: Condition "*op_errstr == NULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12084:
leaked_storage: Variable "key_fixed" going out of scope leaks the storage it points to.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:12084:
leaked_storage: Variable "key" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2258:
cond_true: Condition "!volinfo", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2261:
cond_true: Condition "!priv", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2263:
open_fn: Returning handle opened by "open".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2263:
var_assign: Assigning: "fd" = handle returned from "open(cksum_path, 1602, 384)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2265:
cond_false: Condition "-1 == fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2271:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2273:
cond_true: Condition "!is_quota_conf", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2280:
cond_true: Condition "sort_fd < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2285:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2329:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2330:
cond_false: Condition "fd > 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2331:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2330:
off_by_one: Testing whether handle "fd" is strictly greater than zero is suspicious.  "fd" leaks when it is zero.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2330:
remediation: Did you intend to include equality with zero?
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2332:
cond_false: Condition "unlink_sortfile", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2333:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-utils.c:2336:
leaked_handle: Handle variable "fd" going out of scope leaks the handle.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:679:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:679:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:680:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:680:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:681:
cond_false: Condition "!loc", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:681:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:682:
cond_false: Condition "!loc->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:682:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:683:
cond_false: Condition "!fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:683:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:685:
alloc_fn: Storage is returned from allocation function "mem_get0".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:576:9:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:580:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:582:9:
alloc_fn: Storage is returned from allocation function "mem_get".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:672:9:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:676:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:9:
cond_false: Condition "!pool_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:9:
cond_false: Condition "pool_list->poison", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:681:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:685:9:
alloc_fn: Storage is returned from allocation function "mem_get_from_pool".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:643:9:
cond_false: Condition "retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:647:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:650:9:
cond_false: Condition "retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:654:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:657:9:
alloc_fn: Storage is returned from allocation function "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:657:9:
return_alloc_fn: Directly returning storage allocated by "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:685:9:
var_assign: Assigning: "retval" = "mem_get_from_pool(pt_pool)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:688:9:
cond_false: Condition "!retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:690:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:697:9:
return_alloc: Returning allocated memory "retval".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:582:9:
var_assign: Assigning: "ptr" = "mem_get(mem_pool)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:584:9:
cond_true: Condition "ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:585:17:
noescape: Resource "ptr" is not freed or pointed-to in function "memset".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:588:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:685:
var_assign: Assigning: "local" = storage returned from "mem_get0(this->local_pool)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:686:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:692:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:694:
cond_true: Condition "ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:694:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:694:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:694:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:706:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:707:
cond_true: Condition "!wind", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "op_ret < 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "op_errno != frame->root->error", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:708:
cond_true: Condition "frame->this->ctx->measure_latency", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:710:
leaked_storage: Variable "local" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1906:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1906:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1907:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1907:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1908:
cond_false: Condition "!fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1908:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1909:
cond_false: Condition "!fd->inode", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1909:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1911:
alloc_fn: Storage is returned from allocation function "mem_get0".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:576:9:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:580:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:582:9:
alloc_fn: Storage is returned from allocation function "mem_get".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:672:9:
cond_false: Condition "!mem_pool", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:676:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:9:
cond_false: Condition "!pool_list", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:679:9:
cond_false: Condition "pool_list->poison", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:681:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:685:9:
alloc_fn: Storage is returned from allocation function "mem_get_from_pool".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:643:9:
cond_false: Condition "retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:647:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:650:9:
cond_false: Condition "retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:654:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:657:9:
alloc_fn: Storage is returned from allocation function "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:657:9:
return_alloc_fn: Directly returning storage allocated by "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:685:9:
var_assign: Assigning: "retval" = "mem_get_from_pool(pt_pool)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:688:9:
cond_false: Condition "!retval", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:690:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:697:9:
return_alloc: Returning allocated memory "retval".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:582:9:
var_assign: Assigning: "ptr" = "mem_get(mem_pool)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:584:9:
cond_true: Condition "ptr", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:585:17:
noescape: Resource "ptr" is not freed or pointed-to in function "memset".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:588:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1911:
var_assign: Assigning: "local" = storage returned from "mem_get0(this->local_pool)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1912:
cond_false: Condition "!local", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1916:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1928:
cond_false: Condition "!svc_fd", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1932:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1933:
cond_true: Condition "svc_fd->entry_point_handled", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1933:
cond_true: Condition "off == svc_fd->last_offset", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1936:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1952:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1953:
cond_true: Condition "!wind", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_true: Condition "frame", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_false: Condition "op_ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
else_branch: Reached else branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_true: Condition "op_ret == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1954:
cond_true: Condition "frame->this->ctx->measure_latency", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/snapview-client/src/snapview-client.c:1959:
leaked_storage: Variable "local" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4984:
alloc_fn: Storage is returned from allocation function "gf_uint64_2human_readable".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1563:9:
cond_true: Condition "n >= 1125899906842624ULL", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1564:17:
alloc_arg: "gf_asprintf" allocates memory that is stored into "str".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:241:9:
alloc_arg: "gf_vasprintf" allocates memory that is stored into "*string_ptr".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:214:9:
cond_false: Condition "!string_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:214:9:
cond_false: Condition "!format", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:215:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:221:9:
alloc_fn: Storage is returned from allocation function "__gf_malloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
alloc_fn: Storage is returned from allocation function "__gf_default_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:108:9:
alloc_fn: Storage is returned from allocation function "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:108:9:
var_assign: Assigning: "ptr" = "malloc(size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:110:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:221:9:
var_assign: Assigning: "str" = "__gf_malloc(size, gf_common_mt_asprintf, "gf_common_mt_asprintf")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:222:9:
cond_false: Condition "str == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:226:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:227:9:
noescape: Resource "str" is not freed or pointed-to in function "vsnprintf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:229:9:
var_assign: Assigning: "*string_ptr" = "str".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1565:17:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1566:25:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1567:9:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1587:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/common-utils.c:1588:9:
return_alloc: Returning allocated memory "str".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4984:
noescape: Resource "gf_uint64_2human_readable(priv->block_size)" is not freed or pointed-to in "gf_proc_dump_write".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/shard/src/shard.c:4984:
leaked_storage: Failing to save or free storage allocated by "gf_uint64_2human_readable(priv->block_size)" leaks it.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:159:
cond_false: Condition "eliminate == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:162:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:164:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:165:
cond_true: Condition "component", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:168:
cond_false: Condition "!trav", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:171:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:172:
cond_true: Condition "component[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:173:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:175:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:177:
cond_true: Condition "component[strlen(component) - 1] != '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:181:
cond_false: Condition "!trav->path", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:185:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:188:
cond_true: Condition "1 /* 1 && (size_t)(void const *)&","[1] - (size_t)(void const *)"," == 1 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:188:
cond_true: Condition "(char const *)","[0] != 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:188:
cond_true: Condition "(char const *)","[1] == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:189:
loop: Jumping back to the beginning of the loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:165:
loop_begin: Jumped back to beginning of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:165:
cond_true: Condition "component", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:166:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:166:
var_assign: Assigning: "trav" = storage returned from "__gf_calloc(1UL, 16UL, gf_trash_mt_trash_elim_path, "gf_trash_mt_trash_elim_path")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:168:
cond_false: Condition "!trav", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:171:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:172:
cond_true: Condition "component[0] == '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:173:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:175:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:177:
cond_true: Condition "component[strlen(component) - 1] != '/'", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:181:
cond_true: Condition "!trav->path", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:183:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:183:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:184:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:190:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/trash/src/trash.c:191:
leaked_storage: Variable "trav" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4202:
start: Starting defect path here.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4202:
cond_true: Condition "&hostname->hostname_list != &peerinfo->hostnames", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4204:
alloc_arg: "gf_asprintf" allocates memory that is stored into "key".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:241:9:
alloc_arg: "gf_vasprintf" allocates memory that is stored into "*string_ptr".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:214:9:
cond_false: Condition "!string_ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:214:9:
cond_false: Condition "!format", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:215:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:221:9:
alloc_fn: Storage is returned from allocation function "__gf_malloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:135:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
alloc_fn: Storage is returned from allocation function "__gf_default_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:108:9:
alloc_fn: Storage is returned from allocation function "malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:108:9:
var_assign: Assigning: "ptr" = "malloc(size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:109:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:110:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:112:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:136:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_malloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:221:9:
var_assign: Assigning: "str" = "__gf_malloc(size, gf_common_mt_asprintf, "gf_common_mt_asprintf")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:222:9:
cond_false: Condition "str == NULL", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:226:9:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:227:9:
noescape: Resource "str" is not freed or pointed-to in function "vsnprintf".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:229:9:
var_assign: Assigning: "*string_ptr" = "str".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4206:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4207:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4208:
noescape: Resource "key" is not freed or pointed-to in "gf_store_save_value".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/store.c:330:36:
noescape: "gf_store_save_value(int, char *, char *)" does not free or save its parameter "key".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4209:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4210:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4216:
label: Reached label "out".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-store.c:4218:
leaked_storage: Variable "key" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3378:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3380:
cond_true: Condition "!source", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3381:
cond_true: Condition "!destination", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3385:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3389:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3393:
open_fn: Returning handle opened by "open".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3393:
var_assign: Assigning: "src_fd" = handle returned from "open(source, 0)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3394:
cond_false: Condition "src_fd < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3400:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3403:
cond_false: Condition "dest_fd < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3409:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3412:
noescape: Resource "src_fd" is not freed or pointed-to in "sys_read".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:307:15:
noescape: "sys_read(int, void *, size_t)" does not free or save its parameter "fd".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3413:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3418:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3420:
cond_false: Condition "read_len == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3421:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3424:
cond_false: Condition "ret != read_len", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3429:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3430:
cond_true: Condition "ret > 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3411:
loop_begin: Jumped back to beginning of loop.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3412:
noescape: Resource "src_fd" is not freed or pointed-to in "sys_read".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/syscall.c:307:15:
noescape: "sys_read(int, void *, size_t)" does not free or save its parameter "fd".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3413:
cond_false: Condition "ret == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3418:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3420:
cond_true: Condition "read_len == 0", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3421:
break: Breaking from loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3430:
loop_end: Reached end of loop.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3432:
cond_false: Condition "src_fd > 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3433:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3432:
off_by_one: Testing whether handle "src_fd" is strictly greater than zero is suspicious.  "src_fd" leaks when it is zero.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3432:
remediation: Did you intend to include equality with zero?
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3435:
cond_true: Condition "dest_fd > 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c:3437:
leaked_handle: Handle variable "src_fd" going out of scope leaks the handle.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2149:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2149:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2151:
cond_true: Condition "!priv", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2152:
cond_false: Condition "!req", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2152:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2158:
cond_true: Condition "-1 == req->rpc_status", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2165:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2216:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2218:
cond_true: Condition "req_ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2218:
cond_true: Condition "req_ctx->dict", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2225:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2225:
var_assign: Assigning: "ev_ctx" = storage returned from "__gf_calloc(1UL, 40UL, gf_gld_mt_brick_rsp_ctx_t, "gf_gld_mt_brick_rsp_ctx_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2226:
cond_false: Condition "!ev_ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2226:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2227:
cond_true: Condition "op_ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2231:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2233:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2237:
noescape: Resource "ev_ctx" is not freed or pointed-to in "glusterd_op_sm_inject_event".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:8063:52:
noescape: "glusterd_op_sm_inject_event(glusterd_op_sm_event_type_t, uuid_t *, void *)" does not free or save its parameter "ctx".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2238:
cond_false: Condition "!ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2241:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2243:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2243:
cond_false: Condition "dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2244:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c:2247:
leaked_storage: Variable "ev_ctx" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7577:
cond_false: Condition "ctx", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7579:
else_branch: Reached else branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7580:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7580:
var_assign: Assigning: "req_ctx" = storage returned from "__gf_calloc(1UL, 40UL, gf_gld_mt_op_allack_ctx_t, "gf_gld_mt_op_allack_ctx_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7587:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7597:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7601:
cond_false: Condition "proc->fn", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7605:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7607:
cond_true: Condition "!opinfo.pending_count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7607:
cond_true: Condition "!opinfo.brick_pending_count", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7609:
noescape: Resource "req_ctx" is not freed or pointed-to in "glusterd_op_sm_inject_event".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:8063:52:
noescape: "glusterd_op_sm_inject_event(glusterd_op_sm_event_type_t, uuid_t *, void *)" does not free or save its parameter "ctx".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:7616:
leaked_storage: Variable "req_ctx" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4266:
cond_false: Condition "!dict", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4266:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4269:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4270:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4272:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4272:
var_assign: Assigning: "status_values" = storage returned from "__gf_calloc(count, 8UL, gf_common_mt_char, "gf_common_mt_char")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4274:
cond_false: Condition "!status_values", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4277:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4279:
cond_true: Condition "i < count", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4282:
cond_true: Condition "!status_values[i]", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4284:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4418:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4419:
cond_false: Condition "0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4419:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/cli/src/cli-xml-output.c:4420:
leaked_storage: Variable "status_values" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2759:
cond_false: Condition "!this", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2759:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2762:
cond_true: Condition "!priv", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2765:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2770:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2772:
cond_false: Condition "dict_count == 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2783:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2786:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2790:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2792:
cond_true: Condition "strcasecmp(volname, "all") == 0", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2793:
alloc_arg: "glusterd_op_set_all_volume_options" allocates memory that is stored into "op_errstr".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2466:9:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2467:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2470:9:
cond_false: Condition "ret", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2475:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2478:9:
cond_false: Condition "ret <= 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2483:9:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2485:9:
cond_true: Condition "key_fixed", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2488:9:
alloc_arg: "glusterd_set_shared_storage" allocates memory that is stored into "*op_errstr".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2667:9:
cond_true: Condition "!this", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2667:9:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2725:1:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2726:9:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2726:9:
cond_true: Condition "strlen(errstr)", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2727:17:
alloc_fn: Storage is returned from allocation function "gf_strdup".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:187:9:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:187:9:
var_assign: Assigning: "dup_str" = "__gf_calloc(1UL, len, gf_common_mt_strdup, "gf_common_mt_strdup")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:189:9:
cond_false: Condition "!dup_str", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:190:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:192:9:
noescape: Resource "dup_str" is not freed or pointed-to in function "memcpy".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:194:9:
return_alloc: Returning allocated memory "dup_str".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2727:17:
var_assign: Assigning: "*op_errstr" = "gf_strdup(errstr)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2489:9:
cond_true: Condition "ret", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2493:17:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2625:1:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2628:9:
cond_false: Condition "dup_opt", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2629:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2632:9:
cond_false: Condition "quorum_action", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2633:17:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:2795:
goto: Jumping to label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3021:
label: Reached label "out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3024:
cond_false: Condition "quorum_action", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3025:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/mgmt/glusterd/src/glusterd-op-sm.c:3026:
leaked_storage: Variable "op_errstr" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:511:
start: Starting defect path here.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
cond_false: Condition "!__stub", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
var_assign: Assigning: "blk_fop" = storage returned from "__gf_calloc(1UL, 24UL, gf_leases_mt_fop_stub_t, "gf_leases_mt_fop_stub_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
cond_false: Condition "!blk_fop", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
cond_true: Condition "!lease_ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
goto: Jumping to label "__out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
label: Reached label "__out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:512:
leaked_storage: Variable "blk_fop" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:224:
start: Starting defect path here.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
cond_false: Condition "!__stub", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
var_assign: Assigning: "blk_fop" = storage returned from "__gf_calloc(1UL, 24UL, gf_leases_mt_fop_stub_t, "gf_leases_mt_fop_stub_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
cond_false: Condition "!blk_fop", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
cond_true: Condition "!lease_ctx", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
goto: Jumping to label "__out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
label: Reached label "__out".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
cond_false: Condition "ret < 0", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:225:
leaked_storage: Variable "blk_fop" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:38:
cond_false: Condition "!is_leases_enabled(this)", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:38:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:40:
alloc_fn: Storage is returned from allocation function "__gf_calloc".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:109:9:
cond_true: Condition "!(*__glusterfs_this_location())->ctx->mem_acct_enable", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
alloc_fn: Storage is returned from allocation function "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
alloc_fn: Storage is returned from allocation function "calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:120:9:
var_assign: Assigning: "ptr" = "calloc(cnt, size)".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:121:9:
cond_false: Condition "!ptr", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:122:17:
if_end: End of if statement.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.h:124:9:
return_alloc: Returning allocated memory "ptr".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/libglusterfs/src/mem-pool.c:110:17:
return_alloc_fn: Directly returning storage allocated by "__gf_default_calloc".
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:40:
var_assign: Assigning: "fd_ctx" = storage returned from "__gf_calloc(1UL, 24UL, gf_leases_mt_fd_ctx_t, "gf_leases_mt_fd_ctx_t")".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:43:
cond_true: Condition "!fd_ctx->client_uid", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:45:
goto: Jumping to label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:80:
label: Reached label "err".
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:81:
cond_false: Condition "op_errno == -1", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_false: Condition "!frame", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_true: Condition "1 /* -1 < 0 */", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_true: Condition "op_errno != frame->root->error", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
if_fallthrough: Falling through to end of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
if_end: End of if statement.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_true: Condition "use_spinlocks", taking true branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:82:
cond_true: Condition "frame->this->ctx->measure_latency", taking true branch.
/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:83:
leaked_storage: Variable "fd_ctx" going out of scope leaks the storage it points to.
Error: RESOURCE_LEAK:
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:174:
start: Starting defect path here.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glusterfs/xlators/features/leases/src/leases.c:175:
cond_false: Condition "!__stub", taking false branch.
path:/home/staticanalysis/src/git/2017-04-04/cov-master/glu