[PATCH OLK-5.10] bna: ensure the copied buf is NUL terminated