HomeFreeBSD

heimdal: Check return code from _hdb_fetch_kvno()

Description

heimdal: Check return code from _hdb_fetch_kvno()

A malformed principal will cause kadmind to segfault. The PR
addresses only when chpass is requested but delete is also affected.
Fix both.

PR: 268002
Reported by: Robert Morris <rtm@lcs.mit.edu>
MFC after: 3 days

Details

Provenance
cyAuthored on Nov 26 2022, 8:18 PM
Parents
rG5040a7a9aa67: heimdal: Add missing iprop error checks.
Branches
Unknown
Tags
Unknown