[LU-6908] lfsck_create_lpf() should initialize name before using Created: 27/Jul/15 Updated: 31/Jul/15 Resolved: 31/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Comments |
| Comment by Alex Zhuravlev [ 27/Jul/15 ] |
|
in lfsck_create_lpf(): char name[8]; snprintf(name, 8, "MDT%04x", node); so, LFSCK requests a lock with non-initialized name. it's strange that gcc doesn't complain.. |
| Comment by Alex Zhuravlev [ 27/Jul/15 ] |
| Comment by Gerrit Updater [ 31/Jul/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15727/ |
| Comment by Peter Jones [ 31/Jul/15 ] |
|
Landed for 2.8 |