Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak + error + performance #116

Open
GoogleCodeExporter opened this issue Apr 2, 2015 · 0 comments
Open

Memory leak + error + performance #116

GoogleCodeExporter opened this issue Apr 2, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

[usr/src/cmd/zpool/zpool_vdev.c:1294] -> [usr/src/cmd/zpool/zpool_vdev.c:1292]: 
(error, inconclusive) Possible null pointer dereference: top - otherwise it is 
redundant to check it against null.
[usr/src/cmd/zfs/zfs_main.c:1484] -> [usr/src/cmd/zfs/zfs_main.c:1491]: 
(performance) Variable 'ret' is reassigned a value before the old one has been 
used.
[usr/src/cmd/zpool/zpool_vdev.c:1239]: (error) Memory leak: child
[usr/src/lib/libgen/common/copylist.c:74]: (error) Memory leak: ptr
[usr/src/lib/libgen/common/p2open.c:153]: (error) Used file that is not opened.
[usr/src/lib/libgen/common/rmdirp.c:88] -> 
[usr/src/lib/libgen/common/rmdirp.c:89]: (performance) Variable 'slash' is 
reassigned a value before the old one has been used.
[usr/src/lib/libnsl/rpc/auth_sys.c:136]: (error) Memory leak: auth
[usr/src/lib/libnsl/rpc/getdname.c:133]: (error) Resource leak: domain_fd
[usr/src/lib/libnsl/rpc/netname.c:412]: (error) Using 'sizeof' on array given 
as function argument returns size of a pointer.
[usr/src/lib/libnsl/rpc/netname.c:425]: (error) Using 'sizeof' on array given 
as function argument returns size of a pointer.
[usr/src/lib/libnsl/rpc/netname.c:504]: (error) Dangerous usage of 'hostname' 
(strncpy doesn't always null-terminate it).
[usr/src/lib/libnsl/rpc/rpc_soc.c:542] -> 
[usr/src/lib/libnsl/rpc/rpc_soc.c:539]: (error, inconclusive) Possible null 
pointer dereference: hlist - otherwise it is redundant to check it against null.
[usr/src/lib/libnsl/rpc/svc.c:775] -> [usr/src/lib/libnsl/rpc/svc.c:778]: 
(performance) Variable 'tmp_xprts' is reassigned a value before the old one has 
been used.
[usr/src/lib/libnsl/rpc/svc.c:251]: (error) Common realloc mistake: 
'user_fd_mgt_array' nulled but not freed upon failure
[usr/src/lib/libnsl/rpc/svc.c:454]: (error) Common realloc mistake: 
'svc_userfds' nulled but not freed upon failure
[usr/src/lib/libnsl/rpc/svc_dg.c:179]: (error) Memory leak: su
[usr/src/lib/libnsl/rpc/clnt_vc.c:951]: (error) Invalid number of character (() 
when these macros are defined: 'undef'.
[usr/src/lib/libnsl/rpc/svc_door.c:301] -> 
[usr/src/lib/libnsl/rpc/svc_door.c:303]: (error) Possible null pointer 
dereference: xprt - otherwise it is redundant to check it against null.
[usr/src/lib/libnsl/rpc/svc_vc.c:176] -> [usr/src/lib/libnsl/rpc/svc_vc.c:178]: 
(error) Possible null pointer dereference: xprt - otherwise it is redundant to 
check it against null.
[usr/src/lib/libnsl/rpc/svc_vc.c:464] -> [usr/src/lib/libnsl/rpc/svc_vc.c:466]: 
(error) Possible null pointer dereference: xprt - otherwise it is redundant to 
check it against null.
[usr/src/lib/libnsl/rpc/svc_vc.c:545] -> [usr/src/lib/libnsl/rpc/svc_vc.c:546]: 
(performance) Variable 'tmp_xdrs' is reassigned a value before the old one has 
been used.
[usr/src/lib/libnsl/rpc/svc_vc.c:1268] -> 
[usr/src/lib/libnsl/rpc/svc_vc.c:1271]: (performance) Variable 'tmp_timestamps' 
is reassigned a value before the old one has been used.
[usr/src/lib/libnsl/rpc/xdr_float.c:111]: (error) Invalid number of character 
({) when these macros are defined: 'vax'.
[usr/src/lib/libnsl/rpc/xdr_mem.c:72] -> [usr/src/lib/libnsl/rpc/xdr_mem.c:82]: 
(performance) Variable 'eaddr' is reassigned a value before the old one has 
been used.
[usr/src/lib/libnsl/rpc/xdr_rec.c:759]: (error) Common realloc mistake: 
'newbuf' nulled but not freed upon failure
[usr/src/lib/libzfs/common/libzfs_mount.c:631] -> 
[usr/src/lib/libzfs/common/libzfs_mount.c:627]: (error, inconclusive) Possible 
null pointer dereference: _sa_init - otherwise it is redundant to check it 
against null.
[usr/src/lib/libzfs/common/libzfs_mount.c:759]: (error) Uninitialized variable: 
hdl
[usr/src/uts/common/fs/zfs/dbuf.c:2000]: (error, inconclusive) Address of local 
auto-variable assigned to a function parameter.
[usr/src/uts/common/fs/zfs/dmu_traverse.c:455]: (error) Address of local 
auto-variable assigned to a function parameter.
[usr/src/uts/common/fs/zfs/zfs_acl.c:718] -> 
[usr/src/uts/common/fs/zfs/zfs_acl.c:721]: (performance) Variable 'acep' is 
reassigned a value before the old one has been used.
[usr/src/uts/common/fs/zfs/zfs_rlock.c:295] -> 
[usr/src/uts/common/fs/zfs/zfs_rlock.c:297]: (error) Possible null pointer 
dereference: prev - otherwise it is redundant to check it against null.
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:474] -> 
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:471]: (error, inconclusive) 
Possible null pointer dereference: pzp - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:474] -> 
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:471]: (error) Possible null 
pointer dereference: pzp - otherwise it is redundant to check it against null.
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:614] -> 
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:611]: (error, inconclusive) 
Possible null pointer dereference: pzp - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:614] -> 
[usr/src/uts/common/fs/zfs/zfs_vnops_macosx.c:611]: (error) Possible null 
pointer dereference: pzp - otherwise it is redundant to check it against null.
[usr/src/uts/common/fs/zfs/zfs_ioctl.c:2057]: (error) Dangerous usage of 'buf' 
(strncpy doesn't always null-terminate it).
[usr/src/uts/common/fs/zfs/zio.c:910] -> [usr/src/uts/common/fs/zfs/zio.c:858]: 
(error, inconclusive) Possible null pointer dereference: bp - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/fs/zfs/zio.c:918] -> [usr/src/uts/common/fs/zfs/zio.c:908]: 
(error, inconclusive) Possible null pointer dereference: blkbuf - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/aio.c:3024] -> [usr/src/uts/common/os/aio.c:2998]: 
(error, inconclusive) Possible null pointer dereference: sigev - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/aio.c:3234] -> [usr/src/uts/common/os/aio.c:3207]: 
(error, inconclusive) Possible null pointer dereference: head - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/aio.c:3503] -> [usr/src/uts/common/os/aio.c:3477]: 
(error, inconclusive) Possible null pointer dereference: sigev - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/aio.c:3733] -> [usr/src/uts/common/os/aio.c:3706]: 
(error, inconclusive) Possible null pointer dereference: head - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/aio.c:461]: (error) Uninitialized variable: wait_time
[usr/src/uts/common/os/aio.c:1828]: (error) Uninitialized variable: resultp
[usr/src/uts/common/os/aio.c:2168]: (error) Uninitialized variable: fp
[usr/src/uts/common/fs/zfs/zfs_vnops.c:4165] -> 
[usr/src/uts/common/fs/zfs/zfs_vnops.c:4172]: (error) Possible null pointer 
dereference: zfsvfs - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/brand.c:282] -> [usr/src/uts/common/os/brand.c:274]: 
(error, inconclusive) Possible null pointer dereference: l - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/aio.c:1317] -> [usr/src/uts/common/os/aio.c:1292]: 
(error, inconclusive) Possible null pointer dereference: sigev - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/aio.c:1521] -> [usr/src/uts/common/os/aio.c:1494]: 
(error, inconclusive) Possible null pointer dereference: head - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/condvar.c:75] -> [usr/src/uts/common/os/condvar.c:71]: 
(error, inconclusive) Possible null pointer dereference: cvp - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/condvar.c:76] -> [usr/src/uts/common/os/condvar.c:71]: 
(error, inconclusive) Possible null pointer dereference: cvp - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/contract.c:1196] -> 
[usr/src/uts/common/os/contract.c:1194]: (error, inconclusive) Possible null 
pointer dereference: ct - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/contract.c:1264] -> 
[usr/src/uts/common/os/contract.c:1260]: (error, inconclusive) Possible null 
pointer dereference: ct - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/contract.c:1264] -> 
[usr/src/uts/common/os/contract.c:1260]: (error) Possible null pointer 
dereference: ct - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/cpu.c:1584] -> [usr/src/uts/common/os/cpu.c:1589]: 
(performance) Variable 'error' is reassigned a value before the old one has 
been used.
[usr/src/uts/common/os/cyclic.c:2754] -> [usr/src/uts/common/os/cyclic.c:2749]: 
(error, inconclusive) Possible null pointer dereference: cpu - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/cyclic.c:2755] -> [usr/src/uts/common/os/cyclic.c:2749]: 
(error, inconclusive) Possible null pointer dereference: cpu - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/dacf_clnt.c:167] -> 
[usr/src/uts/common/os/dacf_clnt.c:151]: (error, inconclusive) Possible null 
pointer dereference: dev_pathp - otherwise it is redundant to check it against 
null.
[usr/src/uts/common/os/dacf_clnt.c:192] -> 
[usr/src/uts/common/os/dacf_clnt.c:176]: (error, inconclusive) Possible null 
pointer dereference: dev_pathp - otherwise it is redundant to check it against 
null.
[usr/src/uts/common/os/devcfg.c:553] -> [usr/src/uts/common/os/devcfg.c:545]: 
(error, inconclusive) Possible null pointer dereference: elem - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/devcfg.c:554] -> [usr/src/uts/common/os/devcfg.c:545]: 
(error, inconclusive) Possible null pointer dereference: elem - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/devcfg.c:556] -> [usr/src/uts/common/os/devcfg.c:545]: 
(error, inconclusive) Possible null pointer dereference: elem - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/lgrp.c:4069] -> [usr/src/uts/common/os/lgrp.c:4071]: 
(error) Possible null pointer dereference: seg - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/os/lgrp.c:3569]: (error) Uninitialized variable: tree
[usr/src/uts/common/os/mem_config.c:2136] -> 
[usr/src/uts/common/os/mem_config.c:2137]: (error) Possible null pointer 
dereference: pp - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/modctl.c:2932] -> [usr/src/uts/common/os/modctl.c:2921]: 
(error, inconclusive) Possible null pointer dereference: subdir - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/modsysfile.c:1339] -> 
[usr/src/uts/common/os/modsysfile.c:1343]: (performance) Variable 'start' is 
reassigned a value before the old one has been used.
[usr/src/uts/common/os/modctl.c:4488]: (error) Possible null pointer 
dereference: hmodp
[usr/src/uts/common/os/ndifm.c:349]: (error) Uninitialized variable: fpp
[usr/src/uts/common/os/ndifm.c:379]: (error) Uninitialized variable: fpp
[usr/src/uts/common/os/pg.c:401]: (error) Memory pointed to by 'pg' is freed 
twice.
[usr/src/uts/common/os/pool_pset.c:789] -> 
[usr/src/uts/common/os/pool_pset.c:787]: (error, inconclusive) Possible null 
pointer dereference: cpu - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/priv.c:388]: (error) Uninitialized variable: len
[usr/src/uts/common/os/shm.c:1140] -> [usr/src/uts/common/os/shm.c:1135]: 
(error, inconclusive) Possible null pointer dereference: pp - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/shm.c:1225] -> [usr/src/uts/common/os/shm.c:1217]: 
(error, inconclusive) Possible null pointer dereference: pp - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/softint.c:309] -> [usr/src/uts/common/os/softint.c:306]: 
(error, inconclusive) Possible null pointer dereference: sc - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/softint.c:310] -> [usr/src/uts/common/os/softint.c:306]: 
(error, inconclusive) Possible null pointer dereference: sc - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/softint.c:311] -> [usr/src/uts/common/os/softint.c:306]: 
(error, inconclusive) Possible null pointer dereference: sc - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/softint.c:312] -> [usr/src/uts/common/os/softint.c:306]: 
(error, inconclusive) Possible null pointer dereference: sc - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/strsubr.c:5968] -> 
[usr/src/uts/common/os/strsubr.c:5966]: (error, inconclusive) Possible null 
pointer dereference: outer - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/strsubr.c:5969] -> 
[usr/src/uts/common/os/strsubr.c:5966]: (error, inconclusive) Possible null 
pointer dereference: outer - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/strsubr.c:7785] -> 
[usr/src/uts/common/os/strsubr.c:7772]: (error, inconclusive) Possible null 
pointer dereference: wrq - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/sunmdi.c:2124] -> [usr/src/uts/common/os/sunmdi.c:2118]: 
(error, inconclusive) Possible null pointer dereference: start_pip - otherwise 
it is redundant to check it against null.
[usr/src/uts/common/os/sunmdi.c:3650]: (error) Uninitialized variable: rv
[usr/src/uts/common/os/sunmdi.c:6600] -> [usr/src/uts/common/os/sunmdi.c:6594]: 
(error, inconclusive) Possible null pointer dereference: devnm - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/sunpm.c:3326] -> [usr/src/uts/common/os/sunpm.c:3328]: 
(performance) Variable 'p' is reassigned a value before the old one has been 
used.
[usr/src/uts/common/os/sysent.c:1246]: (error) Uninitialized variable: sy
[usr/src/uts/common/os/tlabel.c:171] -> [usr/src/uts/common/os/tlabel.c:169]: 
(error, inconclusive) Possible null pointer dereference: respath - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/os/tlabel.c:422] -> [usr/src/uts/common/os/tlabel.c:412]: 
(error, inconclusive) Possible null pointer dereference: rstr - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:706] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:707] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:710] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:711] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:712] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:717] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/vm_pageout.c:720] -> 
[usr/src/uts/common/os/vm_pageout.c:700]: (error, inconclusive) Possible null 
pointer dereference: arg - otherwise it is redundant to check it against null.
[usr/src/uts/common/rpc/clnt_gen.c:96] -> 
[usr/src/uts/common/rpc/clnt_gen.c:98]: (error) Possible null pointer 
dereference: config - otherwise it is redundant to check it against null.
[usr/src/uts/common/os/zone.c:4375]: (error) Uninitialized variable: err
[usr/src/uts/common/rpc/rpc_subr.c:266]: (error) Uninitialized variable: p1
[usr/src/uts/common/rpc/rpc_subr.c:266]: (error) Uninitialized variable: p2
[usr/src/uts/common/rpc/rpcib.c:619] -> [usr/src/uts/common/rpc/rpcib.c:621]: 
(error) Possible null pointer dereference: cq - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/rpc/rpcib.c:2519] -> [usr/src/uts/common/rpc/rpcib.c:2522]: 
(error) Possible null pointer dereference: cl - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/rpc/rpcib.c:2598] -> [usr/src/uts/common/rpc/rpcib.c:2601]: 
(error) Possible null pointer dereference: cl - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/rpc/rpcib.c:1184] -> [usr/src/uts/common/rpc/rpcib.c:1176]: 
(error) Possible null pointer dereference: mp - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/rpc/rpcib.c:1193] -> [usr/src/uts/common/rpc/rpcib.c:1176]: 
(error) Possible null pointer dereference: mp - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/rpc/rpcib.c:2184] -> [usr/src/uts/common/rpc/rpcib.c:2193]: 
(performance) Variable 'ret' is reassigned a value before the old one has been 
used.
[usr/src/uts/common/rpc/rpcib.c:2370]: (error) Uninitialized variable: 
ibt_status
[usr/src/uts/common/rpc/rpcib.c:2554]: (error) Uninitialized variable: 
ibt_status
[usr/src/uts/common/rpc/sec/sec_clnt.c:238] -> 
[usr/src/uts/common/rpc/sec/sec_clnt.c:186]: (error, inconclusive) Possible 
null pointer dereference: syncaddr - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/rpc/sec/sec_clnt.c:239] -> 
[usr/src/uts/common/rpc/sec/sec_clnt.c:186]: (error, inconclusive) Possible 
null pointer dereference: syncaddr - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/rpc/sec/sec_clnt.c:257] -> 
[usr/src/uts/common/rpc/sec/sec_clnt.c:186]: (error, inconclusive) Possible 
null pointer dereference: syncaddr - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/rpc/sec/sec_clnt.c:268] -> 
[usr/src/uts/common/rpc/sec/sec_clnt.c:186]: (error, inconclusive) Possible 
null pointer dereference: syncaddr - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/rpc/sec/sec_clnt.c:222] -> 
[usr/src/uts/common/rpc/sec/sec_clnt.c:186]: (error, inconclusive) Possible 
null pointer dereference: syncaddr - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/rpc/sec/sec_clnt.c:223] -> 
[usr/src/uts/common/rpc/sec/sec_clnt.c:186]: (error, inconclusive) Possible 
null pointer dereference: syncaddr - otherwise it is redundant to check it 
against null.
[usr/src/uts/common/rpc/svc.c:2628] -> [usr/src/uts/common/rpc/svc.c:2631]: 
(error) Possible null pointer dereference: mp - otherwise it is redundant to 
check it against null.
[usr/src/uts/common/rpc/svc_rdma.c:903] -> 
[usr/src/uts/common/rpc/svc_rdma.c:908]: (performance) Variable 'status' is 
reassigned a value before the old one has been used.
[usr/src/uts/common/rpc/svc_rdma.c:185]: (error) Uninitialized variable: error
[usr/src/uts/common/rpc/svc_rdma.c:1013]: (error) Uninitialized variable: retval
[usr/src/uts/common/vm/page_retire.c:507]: (error) Possible null pointer 
dereference: prop
[usr/src/uts/common/vm/page_retire.c:509]: (error) Possible null pointer 
dereference: prop
[usr/src/uts/common/vm/page_retire.c:511]: (error) Possible null pointer 
dereference: prop
[usr/src/uts/common/vm/seg_dev.c:2087] -> 
[usr/src/uts/common/vm/seg_dev.c:2089]: (error) Possible null pointer 
dereference: dhp - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/seg_dev.c:3839] -> 
[usr/src/uts/common/vm/seg_dev.c:3835]: (error, inconclusive) Possible null 
pointer dereference: pp - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/seg_kmem.c:366] -> 
[usr/src/uts/common/vm/seg_kmem.c:357]: (error, inconclusive) Possible null 
pointer dereference: pp - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/seg_kmem.c:1001] -> 
[usr/src/uts/common/vm/seg_kmem.c:998]: (error, inconclusive) Possible null 
pointer dereference: pp - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/seg_kp.c:611] -> [usr/src/uts/common/vm/seg_kp.c:606]: 
(error, inconclusive) Possible null pointer dereference: kpd - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_kp.c:612] -> [usr/src/uts/common/vm/seg_kp.c:606]: 
(error, inconclusive) Possible null pointer dereference: kpd - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_spt.c:700] -> [usr/src/uts/common/vm/seg_spt.c:695]: 
(error, inconclusive) Possible null pointer dereference: pp - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_map.c:1526] -> 
[usr/src/uts/common/vm/seg_map.c:1520]: (error, inconclusive) Possible null 
pointer dereference: smp - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/vm_as.c:2872] -> [usr/src/uts/common/vm/vm_as.c:2869]: 
(error, inconclusive) Possible null pointer dereference: seg - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:2002] -> [usr/src/uts/common/vm/seg_vn.c:1998]: 
(error, inconclusive) Possible null pointer dereference: nseg - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:2004] -> [usr/src/uts/common/vm/seg_vn.c:1998]: 
(error, inconclusive) Possible null pointer dereference: nseg - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:2005] -> [usr/src/uts/common/vm/seg_vn.c:1998]: 
(error, inconclusive) Possible null pointer dereference: nseg - otherwise it is 
redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:9286] -> [usr/src/uts/common/vm/seg_vn.c:9283]: 
(error, inconclusive) Possible null pointer dereference: svntrp - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:9292] -> [usr/src/uts/common/vm/seg_vn.c:9283]: 
(error, inconclusive) Possible null pointer dereference: svntrp - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:9293] -> [usr/src/uts/common/vm/seg_vn.c:9283]: 
(error, inconclusive) Possible null pointer dereference: svntrp - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:9294] -> [usr/src/uts/common/vm/seg_vn.c:9283]: 
(error, inconclusive) Possible null pointer dereference: svntrp - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:9295] -> [usr/src/uts/common/vm/seg_vn.c:9283]: 
(error, inconclusive) Possible null pointer dereference: svntrp - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:9306] -> [usr/src/uts/common/vm/seg_vn.c:9283]: 
(error, inconclusive) Possible null pointer dereference: svntrp - otherwise it 
is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:7805] -> [usr/src/uts/common/vm/seg_vn.c:7809]: 
(performance) Variable 'ret' is reassigned a value before the old one has been 
used.
[usr/src/uts/common/vm/vm_pagelist.c:2094] -> 
[usr/src/uts/common/vm/vm_pagelist.c:2110]: (error, inconclusive) Possible null 
pointer dereference: pplist - otherwise it is redundant to check it against 
null.
[usr/src/uts/common/vm/vm_swap.c:1425] -> 
[usr/src/uts/common/vm/vm_swap.c:1415]: (error, inconclusive) Possible null 
pointer dereference: ap - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/vm_swap.c:1426] -> 
[usr/src/uts/common/vm/vm_swap.c:1415]: (error, inconclusive) Possible null 
pointer dereference: ap - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/vm_swap.c:1427] -> 
[usr/src/uts/common/vm/vm_swap.c:1415]: (error, inconclusive) Possible null 
pointer dereference: ap - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/vm_swap.c:1428] -> 
[usr/src/uts/common/vm/vm_swap.c:1415]: (error, inconclusive) Possible null 
pointer dereference: ap - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/vm_swap.c:1429] -> 
[usr/src/uts/common/vm/vm_swap.c:1415]: (error, inconclusive) Possible null 
pointer dereference: ap - otherwise it is redundant to check it against null.
[usr/src/uts/common/vm/seg_vn.c:5576]: (error) Uninitialized variable: ap
[usr/src/uts/common/vm/vm_usage.c:1030]: (error) Uninitialized variable: pgmsk
[zfs_commands/zoink/zoink.c:86]: (error) sprintf format string has 7 parameters 
but only 6 are given.
[zfs_commands/zoink/zoink.c:103]: (error) sprintf format string has 7 
parameters but only 6 are given.

Original issue reported on code.google.com by [email protected] on 15 Feb 2013 at 11:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant