summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Soo Shin <jisshin@google.com>2024-03-15 07:21:35 +0000
committerJi Soo Shin <jisshin@google.com>2024-03-19 09:37:50 +0000
commit21111bc4d1729a7778682a2695556c4a9f9757af (patch)
tree27ab9a7164906c55a853f9dd0902d57aaa2225bd
parent27e97be225d855cae38cc751d57b7dab2d17c079 (diff)
downloadsamsung-android-gs-shusky-5.15-android15-beta.tar.gz
Bug: 323964895 Change-Id: I99f1411764fba00fdfe3d08bbdc6dfd5d30d9c8d Signed-off-by: Ji Soo Shin <jisshin@google.com> (cherry picked from commit 16a8149b3e0f1ef388abf2b3e38516a0a17bcdfe)
-rw-r--r--teeif.c2
-rw-r--r--teeif.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/teeif.c b/teeif.c
index f439b02..d7d6abf 100644
--- a/teeif.c
+++ b/teeif.c
@@ -571,7 +571,7 @@ int teei_gen_stream_manage(uint16_t stream_num,
memcpy(seq_num_m, hci->genstrminfo.seq_num_m, HDCP_RP_SEQ_NUM_M_LEN);
memcpy(k, hci->genstrminfo.k, HDCP_RP_K_LEN);
- memcpy(streamid_type, hci->genstrminfo.streamid_type, HDCP_RP_STREAMID_TYPE_LEN);
+ memcpy(streamid_type, hci->genstrminfo.streamid_type, HDCP_RP_MAX_STREAMID_TYPE_LEN);
/* check returned message from SWD */
diff --git a/teeif.h b/teeif.h
index 2e04ea3..fb26f7a 100644
--- a/teeif.h
+++ b/teeif.h
@@ -215,7 +215,7 @@ typedef struct {
uint8_t streamid[HDCP_RP_MAX_STREAMID_NUM];
uint8_t seq_num_m[HDCP_RP_SEQ_NUM_M_LEN];
uint8_t k[HDCP_RP_K_LEN];
- uint8_t streamid_type[HDCP_RP_STREAMID_TYPE_LEN];
+ uint8_t streamid_type[HDCP_RP_MAX_STREAMID_TYPE_LEN];
} hci_genstreaminfo_t;
typedef struct {