[PATCH 5.15 356/374] kdb: Fix a potential buffer overflow in kdb_local()