Every country in the world has examples of similar disasters.

Bottom line: have someone inspect the building before you buy, keep a couple of those cheap smoke masks on hand (most fire victims die from inhalation rather than heat), and take your chances.