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
Dawson putback gives Hawaii 56-55 win over Riverside
Justin Webster scored 18 points and Carper Dawson scored on a putback with 31.1 seconds to play and Hawaii pulled out a 56-55 win over UC Riverside on Thursday night.
Fitts, free throws help Saint Mary's defeat LMU 57-51
Malik Fitts scored 20 points and Saint Mary's was perfect from the foul line to overcome a cold-shooting second half to pull out a 57-51 win over Loyola Marymount on Thursday night.
Bernard jump starts UCLA to 69-58 win over Utah
Jules Bernard scored 14 of his 16 points in the first half as the UCLA Bruins staked an early lead and outlasted Utah 69-58 on Thursday night.