mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Fix lvm shell crash when input is entirely whitespace. (Xinwei Hu)
This commit is contained in:
parent
22a8592301
commit
89dd7d5275
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.70 -
|
Version 2.02.70 -
|
||||||
================================
|
================================
|
||||||
|
Fix lvm shell crash when input is entirely whitespace.
|
||||||
Update partial mode warning message.
|
Update partial mode warning message.
|
||||||
Preserve memlock balance in clvmd when activation triggers a resume.
|
Preserve memlock balance in clvmd when activation triggers a resume.
|
||||||
|
|
||||||
|
@ -217,6 +217,9 @@ int lvm_shell(struct cmd_context *cmd, struct cmdline_context *cmdline)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!argc)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!strcmp(argv[0], "lvm")) {
|
if (!strcmp(argv[0], "lvm")) {
|
||||||
argv++;
|
argv++;
|
||||||
argc--;
|
argc--;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user