The buffer that binlogrouter allocated for the error message was too small. ASAN happened to catch this.