[PATCH] Add safe_string module and tests