mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Apply patches developed by Sze Yiu Chau <schau@purdue.edu> which correct a vulnerability in X509 parsing. See CVE-2018-16150 and CVE-2018-16149 for more info. CA certification validation was broken by a change put in during warning cleanup a long time ago. This binary now includes the 1-line correction and HTTPSRequestCACert now works again (before was failing because the key usages in certs were not properly read).
Updating SDK libraries
- Copy .a files from SDK
lib
directory to this directory - Run
fix_sdk_libs.sh
Updating libstdc++
After building gcc using crosstool-NG, get compiled libstdc++ and remove some objects:
xtensa-lx106-elf-ar d libstdc++.a pure.o
xtensa-lx106-elf-ar d libstdc++.a vterminate.o
xtensa-lx106-elf-ar d libstdc++.a guard.o
xtensa-lx106-elf-ar d libstdc++.a functexcept.o
xtensa-lx106-elf-ar d libstdc++.a del_op.o
xtensa-lx106-elf-ar d libstdc++.a del_opv.o
xtensa-lx106-elf-ar d libstdc++.a new_op.o
xtensa-lx106-elf-ar d libstdc++.a new_opv.o