[Bug 260958] pfctl: expand_rule: strlcpy

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Feb 2022 10:47:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260958

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b5f6f687a2eea520d93f2c1ca4e04efd7c2e367f

commit b5f6f687a2eea520d93f2c1ca4e04efd7c2e367f
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2022-01-05 20:31:02 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-02-18 10:14:58 +0000

    pfctl: improve error reporting for routehost

    If an invalid (i.e. overly long) interface name is specified error out
    immediately, rather than in expand_rule() so we point at the incorrect
    line.

    PR:             260958
    MFC after:      3 weeks
    Differential Revision:  https://reviews.freebsd.org/D34008

    (cherry picked from commit e68de6694381748b7578703b22580c0f17780b32)

 sbin/pfctl/parse.y | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.