[Midnightbsd-cvs] [MidnightBSD/src] 7b4f81: pf: fix potential state key leak

Lucas Holt noreply at github.com
Sun Dec 1 14:36:07 EST 2024


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 7b4f8183306599a8d2ae3583190352d8789d1caf
      https://github.com/MidnightBSD/src/commit/7b4f8183306599a8d2ae3583190352d8789d1caf
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2024-12-01 (Sun, 01 Dec 2024)

  Changed paths:
    M sys/netpfil/pf/pf.c

  Log Message:
  -----------
  pf: fix potential state key leak
If we fail to attach the new state keys in pf_state_key_attach() we are
expected to free both keys. Do so.
Note that in some scenarios



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