Fix CDC class buffer length validation (#5659)
commit696478d04c9020abbca308e0c429d583ac2adba1
authorSteveCEvans <SteveCEvans@users.noreply.github.com>
Mon, 9 Apr 2018 20:58:54 +0000 (9 21:58 +0100)
committerMichael Keller <github@ike.ch>
Mon, 9 Apr 2018 20:58:54 +0000 (10 08:58 +1200)
tree655cfde5f0c0e5df128d3231c4d15350ad78bbc1
parent802edf236b5d32bae37a320c74893a9813bea33d
Fix CDC class buffer length validation (#5659)

* Fix CDC class buffer length validation

* Use sizeof (<variable>) rather than sizeof (<type>)

* Use sizeof (<variable>) rather than sizeof (<type>)
src/main/vcp_hal/usbd_cdc_interface.c
src/main/vcpf4/usbd_cdc_vcp.c