[LU-13746] lctl llog_print segfault if no log name supplied Created: 02/Jul/20 Updated: 26/Nov/20 Resolved: 26/Nov/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Etienne Aujames | Assignee: | Etienne Aujames |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy | ||
| Environment: |
lustre 2.13.54: test environnement |
||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
The following command executed on MGS returns a "Segmentation fault": lctl --device MGS llog_print The argument "logname" is mandatory but its presence is not checked. This cause a NULL pointer dereference error. |
| Comments |
| Comment by Gerrit Updater [ 03/Jul/20 ] |
|
Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/39263 |
| Comment by Gerrit Updater [ 26/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39263/ |
| Comment by Peter Jones [ 26/Nov/20 ] |
|
Landed for 2.14 |