HomeFreeBSD

heimdal: Fix NULL dereference when mangled realm message

Description

heimdal: Fix NULL dereference when mangled realm message

Fix a NULL dereference in _kadm5_s_init_context() when the client
sends a mangled realm message.

PR: 267912
Reported by: Robert Morris <rtm@lcs.mit.edu>

(cherry picked from commit 05bc50bdb1c1ddbbeb853ea4b184aced0eca9b3f)

Details

Provenance
cyAuthored on Nov 24 2022, 2:22 PM
Parents
rG8d3c6e82cdca: heimdal: The version string must always contain a terminating NUL
Branches
Unknown
Tags
Unknown