Williams scored the go-ahead basket on a layup with 15 seconds to go. On Ohio's following possession, Josh Mballa blocked Jason Preston's layup attempt with five seconds left. The Bobcats gathered the deflection, but a pass attempt to Sylvester Ogbonda was tipped by a Buffalo defender, ricocheted off Ogbonda's fingertips and went out of bounds.
Jayvon Graves made a pair of foul shots with 0.3 seconds to seal the win.
Davonta Jordan added 10 point for the Bulls (11-6, 2-2 Mid-American Conference). Buffalo has won two straight and five of its last seven.
Ben Vander Plas scored a career-high 28 points and Jason Preston tied a career-high 27 points for Ohio (9-8, 1-3). Ogbonda scored 12.
For more AP college basketball coverage: https://apnews.com/Collegebasketball and http://twitter.com/AP-Top25
Bills GM says Pats are still the team to beat. Does PTI agree?
Buffalo Bills GM Brandon Beane says even with Tom Brady gone, the Patriots are still the team to beat and Tony Kornheiser and Michael Wilbon agree.
Former Wake Forest basketball coach Carl Tacy dies at 87
Former Wake Forest and Marshall basketball coach Carl Tacy has died at 87.
DePaul extends coach Dave Leitao's contract through 2023-24
Dave Leitao, who guided DePaul to a 16-16 record this season and has a 122-132 mark in eight overall seasons with the Blue Demons, has been extended through the 2023-24 season.