[LU-5316] New static analysis issues in 2.5.60-108-g446eb3d Created: 10/Jul/14  Updated: 30/Aug/23  Resolved: 10/Jul/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Duplicate Votes: 0
Labels: kw

Issue Links:
Related
is related to LU-4629 Issues found by static analysis tools Resolved
Severity: 3
Rank (Obsolete): 14852

 Description   

Found 1 new static analysis issues in 2.5.60-108-g446eb3d:

  1. Memset-like function is called for 'sizeof' applied to pointer
    • lustre/mdd/mdd_dir.c: in mdd_migrate_create, Function 'memset' is called for 'sizeof' applied to pointer instead of 'sizeof' applied to pointed type

The list of commits since the previous build 2.5.60-54-ge0e07fa:

446eb3d LU-4621 ofd: create same count of objects
2d41fcd LU-4478 ldiskfs: fix problem when ldiskfs_acct_on() fails
b808da7 LU-4975 ofd: add comments for ofd_grant.c functions
1907595 LU-4993 libcfs: convert nodemask_t to linux bitmask
e64d910 LU-4871 newline: Correct missing newline
b69b7de LU-5099 api: transfer object type via dt_insert API
4f04669 LU-5180 lfsck: linkea for orphan
6d8d0ef LU-5291 vvp: Make sure ft_flags is valid
7916593 LU-5289 mdc: cleanup intent if mdc_finish_enqueue() fails
fb855d0 LU-4249 quota: race in qsd_upd_thread()
de2d580 LU-5223 lmv: build master LMV EA dynamically build via readdir
35b3a42 LU-5095 hsm: Allow receiving messages to be non-blocking
4f8ca8e LU-5260 llite: removing ll_cl_context when error occurs
94c6962 LU-5130 lod: Do not merge attr for striped directory
d3e9d45 LU-5279 crypto: no vmalloc() for speed test buffer
2de680e LU-4610 tests: Turn on LFSCK debug messages
7ae1cb9 LU-4416 osd-ldiskfs: add check for 3 arg ext4_journal_start
e236be3 LU-5259 ptlrpc: request gets stuck in UNREGISTERING phase
5a7c614 LU-5238 kernel: kernel update [RHEL6.5 2.6.32-431.20.3.el6]
a82badb LU-3963 osd-zfs: convert to linux list api
a145fab LU-4843 mdt: Add OBD_CONNECT_DIR_STRIPE flag
41b9a48 Revert "LU-1538 tests: keep /sbin/mount.lustre until cleanup"
76015cf LU-4478 ldiskfs: fix problem when ldiskfs_acct_on() fails
3fc039a LU-5262 osd: only allow set size for regular file
bdc5bb5 LU-4933 osc: Automatically increase the max_dirty_mb
0723b8b LU-5053 libcfs: clean up cfs_crypto_hash code
893b677 LU-4694 hsm: Cleanup codes about return value
744b4f9 LU-4984 llite: check for integer overflow in hsm user request
6acd28e LU-4018 tests: improve racer file_create workload
3ea78dd LU-4921 lmv: try all stripes for unknown hash functions
c06ad2f LU-5270 obdclass: do not lock repetitively when geting jobid
babd429 LU-5227 build: build dkms using lbuild
a9c51c0 LU-5240 obdclass: Increase minimum LU Cache for ZFS
73f47cd LU-5188 osp: return 1 if osp_sync_xxx_job issue RPC
633b053 LU-5177 mdt: fix object leak and use after free
a213c33 LU-5233 lod: Remove ldo_def_striping_set check
a66c72c LU-5123 procfs: u64 helper does not respect multiplier
38ea681 LU-5249 osd: check if FLD is fully intialized
8dcfe9e LU-5218 llog: keep llog ctxt indices constant
dc86085 LU-5045 build: update OFED download site to https
5f2024d LU-5223 lod: generate linkEA for shard of striped directory
c973949 LU-5062 llite: Solve a race to access lli_has_smd in read case
1f5fa56 LU-5203 zfs: Update spl/zfs version to 0.6.3
b2f6a7e Revert "LU-4398 mdt: acquire an open lock for write or execute"
ddea2d2 LU-5224 lnet: build failed with MLNX_OFED-2.2
8397584 LU-2675 libcfs: remove unused open flag conversions
45a9f6a LU-1095 ofd: Silence 'slow create' warnings
aa6773d LU-3386 lproc: fix "imports" output format
a708d1a LU-5234 llite: restore newer kernel support for ll_read_dir
58c2a35 LU-3326 tests: sync after file deleted in run_*.sh
bc9e8e7 LU-4367 ptlrpc: add OBD_CONNECT_UNLINK_CLOSE flag
79dd530 LU-5188 osp: Correctly check for invalid setattr record
d70671a LU-5179 libcfs: do not leak mm_struct
8c21986 LU-2059 mgs: fix a bug in mgs_llog_open


 Comments   
Comment by Dmitry Eremin (Inactive) [ 10/Jul/14 ]

It was introduced in de2d580 LU-5223 lmv: build master LMV EA dynamically build via readdir

Comment by Dmitry Eremin (Inactive) [ 10/Jul/14 ]

Patch is http://review.whamcloud.com/11042

Comment by Bob Glossman (Inactive) [ 10/Jul/14 ]

Issue 1. is a dup of LU-5310. http://review.whamcloud.com/11035 is already in flight to fix it.

Comment by Dmitry Eremin (Inactive) [ 10/Jul/14 ]

Thanks Bob.

Generated at Sat Feb 10 01:50:26 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.