Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Lustre 2.7.0
-
3
-
16353
Description
Found 2 new static analysis issues in 2.6.54-45-g8fab48a:
- Pointer may be dereferenced after it was positively checked for NULL
- lustre/lfsck/lfsck_engine.c: in lfsck_close_dir, Pointer 'lfsck->li_obj_dir' checked for NULL at line 380 may be dereferenced at line 393.
- Buffer Overflow - Array Index Out of Bounds
- lustre/lfsck/lfsck_namespace.c: in lfsck_namespace_in_notify, Array 'lr.lr_pool_name' of size 15 may use index value(s) 15
char lmv_pool_name[LOV_MAXPOOLNAME + 1]; ... char lr_pool_name[LOV_MAXPOOLNAME]; ... memcpy(lmv->lmv_pool_name, lr->lr_pool_name, sizeof(lmv->lmv_pool_name));
- lustre/lfsck/lfsck_namespace.c: in lfsck_namespace_in_notify, Array 'lr.lr_pool_name' of size 15 may use index value(s) 15
The list of commits since the previous build 2.6.54-29-g7e41c11:
8fab48a | |
0a18a6a | |
bc23995 | |
85ba174 | |
9849f61 | |
acdaca8 | |
b5e911f | |
38ec486 | |
8e3d8b7 | |
2e38757 | |
ad6dd12 | |
9ff2d95 | |
e881286 | |
e0d08c0 | |
72ae278 | |
0f22e4c |