raspberrypi / hats

BSD 3-Clause "New" or "Revised" License
661 stars 144 forks source link

fix for incorrect data showing up in binaries #31

Closed jlauha closed 3 years ago

jlauha commented 8 years ago

use zero-initialized memory for vinf and gpiomap to prevent use of unitialized data (which can lead to incorrect gpio map for example)

jlauha commented 8 years ago

Oops, commit 365730b ("print number info from EOF related warnings") got included by accident, feel free to leave that out.

omenlabs commented 6 years ago

I just noticed your pr after submitting pull request #51. Glad to see that I'm not the only one that ran into this. I don't have the extra commit in my pull request, but our fix is the same, so you can close this if you want.

pelwell commented 3 years ago

Fix merged as part of #51.