mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
commit
3b2492029e
2 changed files with 5 additions and 1 deletions
|
|
@ -42,6 +42,9 @@
|
|||
### Fixed
|
||||
|
||||
* Crash in scrollback search
|
||||
* Crash when a **pipe-visible** or **pipe-scrollback** command
|
||||
contained an unclosed quote
|
||||
(https://codeberg.org/dnkl/foot/issues/49).
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
|
|
@ -44,8 +44,9 @@ tokenize_cmdline(char *cmdline, char ***argv)
|
|||
char *end = strchr(p, delim);
|
||||
if (end == NULL) {
|
||||
if (delim != ' ') {
|
||||
LOG_ERR("unterminated %s quote\n", delim == '"' ? "double" : "single");
|
||||
LOG_ERR("unterminated %s quote", delim == '"' ? "double" : "single");
|
||||
free(*argv);
|
||||
*argv = NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue