Goaltender Robin Lehner and the Buffalo Sabres have agreed on a one-year contract worth $4 million, the team announced Tuesday.