* syntax.c (convert): Fix buffer overflow for ".*\" cases.

This commit is contained in:
Andrew V. Samoilov 2002-02-18 14:48:36 +00:00
parent 6e3daebeb6
commit fc3ef44f3b
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -471,6 +471,9 @@ static char *convert (char *s)
case '}':
*p = '\004';
break;
case 0:
*p = *s;
return r;
default:
*p = *s;
break;