mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
Refuse metadata and journal writes that exceed their loader's size limit across HostMetadataStore, GuestMetadataStore, DockerMetadataStore, HostContinuityStore, and DockerReportOrderStore, rolling back rejected in-memory mutations. Reserve half of host_metadata.json for command policy updates via SetCommandsEnabled, cap polled guest identity names at 255 bytes, and return size refusals in GuestMetadataStore.save before advancing revision or lastWriteErr so monitor reloads stay healthy. Prevent a PVE cluster or endpoint-reported node name from claiming another configured connection's node identity or namespace in EnsurePVEClusterNodeIdentities, pveNodeIdentityScope, and DerivePVENodeIdentity. Restrict guest parent node resolution in ResourceRegistry to nodes on the guest's own connection, and never interpret a bare reported node name as another node's canonical resource ID when routing commands. Contract-Neutral: Security hardening fix without public contract change