Use null-terminated copy of the input buffer to create the formatted message instead of "multiBuffer" itself, which isn't.