AnotherJohnH / Zif

Z-code engine for interactive fiction
MIT License
2 stars 0 forks source link

Replace unsafe char arrays with std::string #27

Closed AnotherJohnH closed 5 years ago

AnotherJohnH commented 5 years ago

The original implementation had envisioned deployment to memory restricted platforms where dynamic memory allocation was not supported. This is not likely to be the case and so STL usage should be allowed to help improve code safety.

use of sprintf() a related problem

The ZDisassembly class is the worst offender

AnotherJohnH commented 5 years ago

All the offending code has been replaced