mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-23 09:41:19 +00:00
Fix buffer allocation overflow.
This commit is contained in:
parent
7ff2f43bfd
commit
fc32280f42
@ -167,8 +167,8 @@ typedef struct
|
|||||||
uint16_t total_len;
|
uint16_t total_len;
|
||||||
uint16_t queued_len;
|
uint16_t queued_len;
|
||||||
uint16_t pma_ptr;
|
uint16_t pma_ptr;
|
||||||
uint8_t max_packet_size;
|
uint16_t max_packet_size;
|
||||||
uint8_t pma_alloc_size;
|
uint16_t pma_alloc_size;
|
||||||
uint8_t epnum;
|
uint8_t epnum;
|
||||||
} xfer_ctl_t;
|
} xfer_ctl_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user