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

Details

Provenance
rewAuthored on Mar 18 2022, 5:51 AM
Reviewer
markj
Differential Revision
D34291: bhyve/snapshot: limit snapshot filename to NAME_MAX
Parents
rG3efc45f34e13: libvmm: constify vm_get_name()
Branches
Unknown
Tags
Unknown