Initialise buffer with null-terminator