[PATCH v2 2/7] kdb: Use format-strings rather than '\0' injection in kdb_read()