bug #39691 Buffer overrun when reading EEPROM byte with JTAGICE3
* jtag3.c (jtag3_initialize): initialize the eeprom_pagesize private attribute so the page cache will actually be usable git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1202 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
ce90fe7b74
commit
d3934de629
|
@ -1,3 +1,9 @@
|
|||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||
|
||||
bug #39691 Buffer overrun when reading EEPROM byte with JTAGICE3
|
||||
* jtag3.c (jtag3_initialize): initialize the eeprom_pagesize
|
||||
private attribute so the page cache will actually be usable
|
||||
|
||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||
|
||||
bug #38580 Current svn head, xmega and fuses, all fuses tied to fuse0
|
||||
|
|
1
NEWS
1
NEWS
|
@ -88,6 +88,7 @@ Current:
|
|||
- bug #35800: Compilation error on certain systems if parport is disabled
|
||||
- bug #38307: Can't write usersig of an xmega256a3
|
||||
- bug #38580 Current svn head, xmega and fuses, all fuses tied to fuse0
|
||||
- bug #39691 Buffer overrun when reading EEPROM byte with JTAGICE3
|
||||
|
||||
* Keep track of input file contents
|
||||
|
||||
|
|
1
jtag3.c
1
jtag3.c
|
@ -817,6 +817,7 @@ static int jtag3_initialize(PROGRAMMER * pgm, AVRPART * p)
|
|||
PDATA(pgm)->flash_pagesize = m->page_size;
|
||||
u16_to_b2(xd.flash_page_size, m->page_size);
|
||||
} else if (strcmp(m->desc, "eeprom") == 0) {
|
||||
PDATA(pgm)->eeprom_pagesize = m->page_size;
|
||||
xd.eeprom_page_size = m->page_size;
|
||||
u16_to_b2(xd.eeprom_size, m->size);
|
||||
u32_to_b4(xd.nvm_eeprom_offset, m->offset);
|
||||
|
|
Loading…
Reference in New Issue