fix(bt/bluedroid): added buffer length check for OBEX APIs

This commit is contained in:
Jin Cheng
2026-06-17 07:23:59 +08:00
committed by BOT
parent 10eb7df430
commit 3be52f9d46
4 changed files with 78 additions and 16 deletions
@@ -266,6 +266,6 @@ extern BOOLEAN OBEX_CheckContinueResponse(BT_HDR *pkt);
extern UINT8 *OBEX_GetNextHeader(BT_HDR *pkt, tOBEX_PARSE_INFO *info);
extern UINT16 OBEX_GetHeaderLength(UINT8 *header);
extern UINT16 OBEX_GetHeaderLength(UINT8 *header, UINT8 *pkt_end);
#endif /* #if (OBEX_INCLUDED == TRUE) */