[Midnightbsd-cvs] [MidnightBSD/src] f70e01: libpfct: ensure the initial allocation is large en...

Kristof Provost noreply at github.com
Sat Aug 19 11:33:38 EDT 2023


  Branch: refs/heads/stable/3.1
  Home:   https://github.com/MidnightBSD/src
  Commit: f70e017df7f4bbceef33a1076eef930750b298ae
      https://github.com/MidnightBSD/src/commit/f70e017df7f4bbceef33a1076eef930750b298ae
  Author: Kristof Provost <kp at FreeBSD.org>
  Date:   2023-08-19 (Sat, 19 Aug 2023)

  Changed paths:
    M lib/libpfctl/libpfctl.c

  Log Message:
  -----------
  libpfct: ensure the initial allocation is large enough

Ensure that we allocate enough memory for the packed nvlist, no matter
what size hint was provided.

MFC after:	1 week
Reported by:	R. Christian McDonald <rcm at rcm.sh>
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 6422599e74db4bb8b47cead46760d96601d8396a)




More information about the Midnightbsd-cvs mailing list