Why did you just set the content of first index to 0?
Is `memset(s_errorBuffer , 0, sizeof(s_errorBuffer ));` more suitable?