HomeFreeBSD

bhyve/snapshot: limit snapshot filename to NAME_MAX

Description

bhyve/snapshot: limit snapshot filename to NAME_MAX

NAME_MAX is a better fit since strcat_extension() constructs the
filename of the snapshot file.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D34291

(cherry picked from commit 961e6a12efdbd48d92516beaf0772ff50008457d)

Details

Provenance
rewAuthored on Mar 18 2022, 5:51 AM
jhbCommitted on Jan 26 2023, 6:48 PM
Reviewer
markj
Differential Revision
D34291: bhyve/snapshot: limit snapshot filename to NAME_MAX
Parents
rG51b1d348203d: libvmm: constify vm_get_name()
Branches
Unknown
Tags
Unknown