mirror of https://github.com/MidnightCommander/mc
* syntax.c (convert): Fix buffer overflow for ".*\" cases.
This commit is contained in:
parent
6e3daebeb6
commit
fc3ef44f3b
|
@ -1,3 +1,7 @@
|
|||
2002-02-18 Andrew V. Samoilov <kai@cmail.ru>
|
||||
|
||||
* syntax.c (convert): Fix buffer overflow for ".*\" cases.
|
||||
|
||||
2002-01-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editdraw.c (edit_scroll_screen_over_cursor): Do nothing if the
|
||||
|
|
|
@ -471,6 +471,9 @@ static char *convert (char *s)
|
|||
case '}':
|
||||
*p = '\004';
|
||||
break;
|
||||
case 0:
|
||||
*p = *s;
|
||||
return r;
|
||||
default:
|
||||
*p = *s;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue