We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29592eb commit dd52fceCopy full SHA for dd52fce
1 file changed
src/libirecovery.c
@@ -2357,7 +2357,7 @@ static void* _irecv_handle_device_add(void *userdata)
2357
return NULL;
2358
}
2359
debug("found device with ECID %016" PRIx64 "\n", (uint64_t)client->device_info.ecid);
2360
- strncpy(serial_str, client->device_info.serial_string, 256);
+ strncpy(serial_str, client->device_info.serial_string, 255);
2361
product_id = client->mode;
2362
client_loc.isKIS = 1;
2363
0 commit comments