1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00
Earle F. Philhower, III 2171a2e852
Fix gzip+signed OTA error (#7577)
The last 4 bytes of a GZIP file is the decompressed file length, and
are used in eboot to do sanity checks and know when decompression is
done.

Updater was incorrectly telling eboot to look at
"end-of-bin + sizeof(signing)", and when eboot did so it got an
incorrect value causing either the update to be skipped or for only a
portion of update to be completed.

Fix by adjusting the size back to the end of binary.
Fixes #7570
2020-09-04 08:57:03 -07:00
..
2019-05-14 00:09:54 +02:00
2020-08-23 19:43:32 +02:00
2019-05-14 00:09:54 +02:00
2019-05-14 00:09:54 +02:00
2020-05-26 20:04:49 -04:00
2020-04-23 12:15:21 -04:00
2019-05-14 00:09:54 +02:00
2019-05-14 00:09:54 +02:00
2019-05-14 00:09:54 +02:00
2019-11-04 23:14:35 -03:00
2020-04-23 12:15:21 -04:00
2019-05-14 00:09:54 +02:00
2019-05-14 00:09:54 +02:00
2019-05-14 00:09:54 +02:00
2020-07-07 10:22:00 +02:00
2020-07-07 11:12:43 -07:00
2020-07-09 09:59:49 -07:00
2020-09-04 08:57:03 -07:00
2014-12-01 00:34:28 +03:00