Skip to content

Commit

Permalink
Increases fastbootd response message size
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bowgotsai committed Feb 6, 2020
1 parent 7bb8a00 commit 27d5fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastboot/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 27d5fb3

Please sign in to comment.