Yes, if the house has safety issues they will need to be repaired prior to closing which can be an issue as most banks sell reos as is. If need repairs you may need to get an FHA 203k loan. Which will give you money for the repairs that are non structural in nature.