[PATCH 5.10 275/286] kdb: Fix a potential buffer overflow in kdb_local()