Re: Support -E in awk

2023-10-02 Thread Philip Prindeville
Thanks... I'll need to figure out how to backport it to 1.36.1 before I can try it. > On Oct 2, 2023, at 8:24 AM, Denys Vlasenko wrote: > > Pushed to git. Can you review and test? > > On Thu, Sep 21, 2023 at 5:13 PM Philip Prindeville > wrote: >> >> Hi, >> >> We have some scripts written

[PATCH] udhcp: Avoid leaking uninitialized/stale data

2023-10-02 Thread Russ Dill
I noticed a commit in connman: "gdhcp: Avoid leaking stack data via unitiialized variable" [1] Since gdhcp is just BusyBox udhcp with the serial numbers filed off, I checked if BusyBox udhcp has a related issue. The issue is that the get_option logic assumes any data within the memory area of

Re: Support -E in awk

2023-10-02 Thread Denys Vlasenko
Pushed to git. Can you review and test? On Thu, Sep 21, 2023 at 5:13 PM Philip Prindeville wrote: > > Hi, > > We have some scripts written in awk that we'd like to have take flags, but > when the script is embedded in a hashbang file (#!/usr/bin/awk -f), then awk > ends up consuming any

Re: [PATCH] install: Fix chown resetting suid/sgid bits from chmod

2023-10-02 Thread Denys Vlasenko
Applied, thank you. On Sat, Sep 23, 2023 at 1:57 PM Nero wrote: > > Since Linux 2.2.13, chown(2) resets the suid/gid bits for all users. > This patch changes the ordering so that chmod gets called after chown. > > This behavior follows GNU coreutils. > > Signed-off-by: Nero > --- >

Re: `sleep` fails if called with an end-of-options delimiter `--`

2023-10-02 Thread Denys Vlasenko
Fixed in git. Thank you. On Sun, Jun 25, 2023 at 4:19 PM Lucas Larson wrote: > > package: busybox > version: 1.36.1 > > Bug description: > When using the `sleep` command with the end-of-options delimiter `--` (that > is, `sleep -- 1` or `busybox sleep -- 1`), the command fails to execute >