[Midnightbsd-cvs] [MidnightBSD/src] 9e3041: wall: harden message buffer sizing

Lucas Holt noreply at github.com
Fri May 1 11:28:33 EDT 2026


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

  Changed paths:
    M usr.bin/wall/wall.c

  Log Message:
  -----------
  wall: harden message buffer sizing

Use size_t for message length and validate fstat() size before allocating/reading to avoid integer truncation and potential overflow.

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