tag | d7db54ae850ca134d79622dabab188418b2262df | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 05 01:09:56 2021 -0700 |
object | 3fa89efea9d1c2ae1253181ab4faeb788988fbb1 |
Android 11.0.0 Release 0.113 (RQ3A.211001.001,coral/flame)
commit | 3fa89efea9d1c2ae1253181ab4faeb788988fbb1 | [log] [tgz] |
---|---|---|
author | Jimmy Hu <hhhuuu@google.com> | Thu Apr 22 15:48:04 2021 +0800 |
committer | Harrison Lingren <hlingren@google.com> | Tue Jun 15 17:10:23 2021 +0000 |
tree | 7a08b5b2b494920bafcc3af5eb05cef70af995ec | |
parent | f39cb888297d4560766734fe0c42177714f8f9d5 [diff] |
usb: fix undefined behavior caused by zero-length array The use of zero-length array causes undefined behavior. Replace zero-length array with flexible-array member. Bug: 174330770 Test: build pass and boot to home Change-Id: I080ed1555d5b60075f6a86aa0ac15427529f7a1b Signed-off-by: Jimmy Hu <hhhuuu@google.com> Signed-off-by: Puma Hsu <pumahsu@google.com>