Linus Ullmark made 32 saves, David Pastrnak scored and added two helpers, and Charlie McAvoy tallied two assists to lift the Boston Bruins to a 5-2 win against the Buffalo Sabres.