AnsweredAssumed Answered

Case statement fall through maintenance bug in usbd_cdc.c

Question asked by Andrei Chichak on Jun 6, 2018
Latest reply on Jun 8, 2018 by pavel a

cppcheck pointed out that usbd_cdc.c has a missing break statement around line 652.

 

The next case is a default:/break;, but if another case is inserted between the offender and the default, a fall through would happen.

 

Andrei

Outcomes