nccgroup / depthcharge

A U-Boot hacking toolkit for security researchers and tinkerers
https://depthcharge.readthedocs.io
BSD 3-Clause "New" or "Revised" License
257 stars 14 forks source link

Allow empty env or missing/broken printenv() #37

Closed jynik closed 3 years ago

jynik commented 4 years ago

Currently, if we encounter an entirely empty environment or the printenv command doesn't work, we error our.

Opening a issue to track the fix for this; ideally we should just emit an error message but still try to finish initialization.

jynik commented 4 years ago

Staged in next @ 81a97ca6d37a3ab3c76e5e4e409e6ac7a1d9460a