[Midnightbsd-cvs] [MidnightBSD/src] 5a8081: progress: fix gzip -l injection and EINTR wait loop

Lucas Holt noreply at github.com
Fri May 1 10:38:29 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 5a808109251052b7f8a728467337a71712876772
      https://github.com/MidnightBSD/src/commit/5a808109251052b7f8a728467337a71712876772
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    M usr.bin/progress/Makefile
    M usr.bin/progress/progress.c
    A usr.bin/progress/tests/Makefile
    A usr.bin/progress/tests/progress_test.sh

  Log Message:
  -----------
  progress: fix gzip -l injection and EINTR wait loop

Avoid popen()/shell when running gzip -l by forking gzip with argv, and handle EINTR correctly in the wait loop.

Add an ATF regression test for -z with metacharacters in filenames.

AI-Assisted-by: GPT-5.2 (Codex CLI)
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list