Re: [PATCH] shell: avoid segfault on ${0::0/0~09J}. Closes 15216

2023-06-12 Thread Denys Vlasenko
Sorry for missing your fix for so long. I would like to avoid having numstack[] too large, so I'm adding some code to bail out early if we see a number immediately followed by a number or a name, which is never valid. Thus, the current allocation will not be overflowed. Please try current git.

Re: hush: BUG in varexp2 when doing a=${a:+$a }a

2023-06-12 Thread Denys Vlasenko
Fixed in git. Thank you. On Sun, Jun 4, 2023 at 1:23 PM Aleksander Mazur wrote: > > Hi, > > hush aborts when doing mentioned parameter substitution. > (Fortunately it works fine when double-quoted.) > > $ ./hush > > > BusyBox v1.37.0.git (2023-06-04 12:42:18 CEST) hush - the humble shell > Enter

Re: [PATCH] udhcpd: Serve BOOTP clients

2023-06-12 Thread Denys Vlasenko
On Mon, May 29, 2023 at 3:39 AM Adam Goldman wrote: > This patch makes udhcpd respond correctly to queries from BOOTP clients. > > It contains the following changes: > > The end field, or DHCP_END option, is required in DHCP requests but > optional in BOOTP requests. Only complain about missing en