From 27d5fb344b5ae57c528de6bc2261fd154335c76e Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Wed, 5 Feb 2020 10:16:21 +0800 Subject: [PATCH] Increases fastbootd response message size Some output of `fastboot getvar` exceeds current message size. Increases the message size to 256 to fix the issue. Bug: 74445765 Bug: 144473561 Test: fastboot getvar system-fingerprint Change-Id: Id5064be4bb500697ce87c473f662d86c7c344d65 --- fastboot/constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastboot/constants.h b/fastboot/constants.h index aefd44878..ba43ca5bd 100644 --- a/fastboot/constants.h +++ b/fastboot/constants.h @@ -42,7 +42,7 @@ #define RESPONSE_INFO "INFO" #define FB_COMMAND_SZ 64 -#define FB_RESPONSE_SZ 64 +#define FB_RESPONSE_SZ 256 #define FB_VAR_VERSION "version" #define FB_VAR_VERSION_BOOTLOADER "version-bootloader"