1dca8b3b78
Add offset+length bounds checking to AppendEntriesRequest.from_bytes to prevent slice panic. Cap entry count to 10000. Emit tracing::warn when critical term fields fail to parse in Election and RoleChanged messages.