Re: [PATCH] hush: Prevent segfault at unexpected EOF in script.

2024-02-25 Thread Denys Vlasenko
On Sat, Feb 10, 2024 at 4:51 PM Dmitry Chestnykh wrote: > See https://bugs.buildroot.org/show_bug.cgi?id=15937 . > With this patch the execution of reproducer script > from bugzilla leads to the following output: > 'hush: syntax error: unexpected EOF' > > Signed-off-by: Dmitry Chestnykh > --- >

[PATCH] hush: Prevent segfault at unexpected EOF in script.

2024-02-10 Thread Dmitry Chestnykh
See https://bugs.buildroot.org/show_bug.cgi?id=15937 . With this patch the execution of reproducer script from bugzilla leads to the following output: 'hush: syntax error: unexpected EOF' Signed-off-by: Dmitry Chestnykh --- shell/hush.c | 17 - 1 file changed, 16 insertions(+),