Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error: Expat-2.1.0 renamed on sourceforge #384

Open
emailbsuv opened this issue Jun 20, 2021 · 4 comments
Open

Make error: Expat-2.1.0 renamed on sourceforge #384

emailbsuv opened this issue Jun 20, 2021 · 4 comments

Comments

@emailbsuv
Copy link

No description provided.

@scubasteve1488
Copy link

I had no luck with modifying config files to adapt to rename.
Easiest solution I've found.

Download "expat2.3.0-RENAMED-VULNERABLE-PLEASE-USE-2.4.1-INSTEAD.tar.gz"
from: https://sourceforge.net/projects/expat/files/expat/

rename to expat2.3.0.tar.gz and move to /esp-open-sdk/crosstool-NG/.build/tarballs/

cd /esp_open_sdk/
make

@EtchedPixels
Copy link

Not very smart - expat 2.3 has serious security holes and was deliberately moved. Your build is now totally vulnerable to attack. The better fix is to use expat 2.4.1 or later like it tells you to.

@derbroti
Copy link

For completeness:

  • edit crosstool-NG/config/companion_libs/expat.in

  • replace all occurrences of 2.1.0 with 2.4.1
    (This includes the underscore ones like: "EXPAT_V_2_4_1")

  • run make and everything will be fine

@jose1711
Copy link

jose1711 commented Aug 8, 2022

And since expat 2.4.1 is now also vulnerable it must be changed to 2.4.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants