mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-19 02:22:21 +00:00
bug #43078: AVRDUDE crashes after sucessfully reading/writing eeprom
* jtag3.c (jtag3_edbg_recv_frame): Return correct length as reported in the response packet, rather than full 512 byte which are always reported by the CMSIS-DAP layer. Miscalculations based on the wrongly reported length caused heap corruption elsewhere, so this is presumably also a fix for bug #43078. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1344 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
1 parent
61a5a5e7ff
commit
48c365e31c
3 files changed
+11
-1