Rapsodo interview question

How to make an embedded system memory safe