dirtyjtag / DirtyJTAG

JTAG probe firmware
MIT License
464 stars 70 forks source link

Harden command parsing #89

Closed jeanthom closed 1 year ago

jeanthom commented 3 years ago

The command parsing loop can currently go into an infinite loop if we don't end our command sequence with either a data-returning command or with CMD_STOP. We should add protection to avoid buffer overruns.

jeanthom commented 1 year ago

Fixed in https://github.com/dirtyjtag/DirtyJTAG/pull/104/commits/8ee0191f0691bffca567121fca139a0635b33ec6