[Bug 267884] kadmind can read beyond the end of an incoming message's buffer

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Nov 2022 14:16:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267884

Cy Schubert <cy@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |cy@FreeBSD.org

--- Comment #1 from Cy Schubert <cy@FreeBSD.org> ---
It appears that upstream Heimdal 7.8.0 suffers the same bug.

The simplest solution would be to strlcpy() the string to a temporary bufer in
match_appl_version(), do the sscanf(), and discard the temporary buffer.

I think this should also be reported to our friends at Heimdal.

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