Displaying 2 results from an estimated 2 matches for "parse_escape_key".
2017 Oct 23
0
[PATCH] rescue: fix size check
...t to the pointer itself.
Fixes commit 3637c42f4e521eb647d7dfae7f48eb1689d0af54.
---
rescue/escape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rescue/escape.c b/rescue/escape.c
index a7949972a..3bb69578b 100644
--- a/rescue/escape.c
+++ b/rescue/escape.c
@@ -49,7 +49,7 @@ parse_escape_key (const char *arg)
return 0;
len = strlen (arg);
- if (arg == 0)
+ if (len == 0)
return -1;
switch (arg[0]) {
--
2.13.6
2017 Mar 04
7
[PATCH v3] Fix virt-rescue.
Version 3:
- Tidies up the code further.
- Implements correct handling of SIGTSTP and SIGCONT.
- Adds: ^] s - sync filesystems
- Adds: ^] z - suspend virt-rescue
Rich.