Diff between f763e5e3e42f92365b89af7eb3cb51e91de72690 and 03375be73a966e1eafbc658893fd46955409d9df
Changed Files
| File | Additions | Deletions | Status |
| attrib/interactive.c | +2 | -1 | modified |
Full Patch
diff --git a/attrib/interactive.c b/attrib/interactive.c
index f28dc22..4fd7276 100644
--- a/attrib/interactive.c
+++ b/attrib/interactive.c
@@ -867,7 +867,8 @@ static void parse_line(char *line_read)
add_history(line_read);
- g_shell_parse_argv(line_read, &argcp, &argvp, NULL);
+ if (g_shell_parse_argv(line_read, &argcp, &argvp, NULL) == FALSE)
+ goto done;
for (i = 0; commands[i].cmd; i++)
if (strcasecmp(commands[i].cmd, argvp[0]) == 0)