The tsunami devastated coastal areas from Malaysia to East Africa .