AVR Downloader/UploaDEr - Bugs: bug #39691, Buffer overrun when reading EEPROM...
You are not allowed to post comments on this tracker with your current authentication level.
bug #39691: Buffer overrun when reading EEPROM byte with JTAGICE3
Submitter: | David Glaze <djglaze> | ||
Submitted: | Sun 04 Aug 2013 04:52:14 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Name: | David Glaze |
Open/Closed: | Closed | Release: | None |
Programmer hardware: | Device type: |
Tue 03 Sep 2013 12:00:01 PM UTC, comment #1: |
Joerg Wunsch <joerg_wunsch> |
Sun 04 Aug 2013 04:52:14 PM UTC, original submission:
Avrdude has a bug that causes it to write outside a buffer when attempting to use the erase-rewrite cycle counter feature (-y) with the JTAGICE3 programmer on an ATxmega128A3U part. The resulting error is:
|
David Glaze <djglaze> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2013-09-03 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-d3ae.
Corresponding source code
Fixed in SVN r1202.
The problem turned out that (PGM)->eeprom_pagesize was never
set to the actual page size, so the page cache being allocated
was not usable by anything except free().
I kept the caching inside jtag3_read_byte() as I think it's
still useful to have.