Rather than passing four strings to malloc_message(), malloc_write4(), and all the functions that use them, only pass one string.