[PATCH 2/2] Add using_dgram as member of globals struct

2025-04-15 Thread Radoslav Kolev
--- networking/ping.c | 136 +- 1 file changed, 74 insertions(+), 62 deletions(-) diff --git a/networking/ping.c b/networking/ping.c index b2ff92b82..1df073d3a 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -217,9 +217,82 @@ enum { PI

[PATCH 1/2] Add optional rootless ping support

2025-04-15 Thread Radoslav Kolev
--- networking/ping.c | 212 +++--- 1 file changed, 180 insertions(+), 32 deletions(-) diff --git a/networking/ping.c b/networking/ping.c index b7e6955a9..b2ff92b82 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -46,6 +46,16 @@ //config: Wi

Re: [RESEND(4) PATCH] archival: disallow path traversals (CVE-2023-39810)

2025-04-15 Thread Denys Vlasenko
On Wed, Oct 2, 2024 at 10:12 AM Peter Kaestle wrote: > > Create new configure option for archival/libarchive based extractions to > disallow path traversals. > As this is a paranoid option and might introduce backward > incompatibiltiy, default it to no. > > Fixes: CVE-2023-39810 > > Signed-off-by

[PATCH 1/2] lineedit: fix printing lines during tab completion

2025-04-15 Thread Ahmad Fatoum
Indentation and escape characters are all output to stderr now, but the matches themself remained on stdout leading to garbled output on Tab completion. Print the results to stderr as well to fix this. Fixes: fd47f056765a ("lineedit: print prompt and editing operations to stderr") Signed-off-by:

[PATCH 2/2] lineedit: fix left-over print to stdout

2025-04-15 Thread Ahmad Fatoum
There's code printing to stderr both before and after the single call to puts inside put_cur_glyph_and_inc_cursor(). This is likely an oversight as we want everything to go through the same file descriptor, so switch it over to fputs. Fixes: fd47f056765a ("lineedit: print prompt and editing opera