I am looking to buy a foreclosed condominium in Ct.

the ceiling is damaged by water leaking from above .

If I buy the place whose responsibility is it to get the ceiling fixed??

mine or the association or the person living above?