[PATCH 5.0 21/36] tipc: Avoid copying bytes beyond the supplied data