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

Stack smashing protection mode #10

Open
amckay1 opened this issue Apr 30, 2019 · 2 comments
Open

Stack smashing protection mode #10

amckay1 opened this issue Apr 30, 2019 · 2 comments
Labels
discussion Brainstorm ideas

Comments

@amckay1
Copy link

amckay1 commented Apr 30, 2019

Hi Raphael,

This is so very helpful, thank you!

I hit a potential bug in examples/sd_jpg for which I think I found a partial fix. The default configuration for the ESP-IDF has stack smashing protection mode set to "Overall" which the example fails repeatedly (triggering restarts). Setting this to "Normal" in make menuconfig seems to fix the problem.

I'll try to learn more and hopefully find a fix that passes the more stringent protection mode.

Thanks again!

@chrisMa68
Copy link

I had the same Problem, but after set
CONFIG_STACK_CHECK_NORM=y
is works fine...

@raphaelbs
Copy link
Owner

Can you share a piece of the bug? Also feel free to open a PR to add this configurations to the doc.

@raphaelbs raphaelbs added the discussion Brainstorm ideas label May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Brainstorm ideas
Projects
None yet
Development

No branches or pull requests

3 participants