You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
Application information
=======================
Project name: app??????????
App version: 1.2.3???????????????????????????
Compile time: Jan 17 2025????? 14:43:46????????
...
What is the Expected Behaviour?
The output from the binary header should be sanitized because Bash doesn't handle NUL bytes particularly well in strings, variables, and it can cause problems for scripts.
In this case, Bash complains: bash: warning: command substitution: ignored null byte in input
More Information
No response
Other Steps to Reproduce
No response
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
image_info output can cause issues with Bash
image_info output can cause issues with Bash (ESPTOOL-999)
Jan 23, 2025
Operating System
Linux
Esptool Version
4.9.dev4
Python Version
Python 3.13.1
Full Esptool Command Line that Was Run
VAR=$(esptool.py image_info -v 2 build/app.bin | tr '\0' '?')
Esptool Output
What is the Expected Behaviour?
The output from the binary header should be sanitized because Bash doesn't handle NUL bytes particularly well in strings, variables, and it can cause problems for scripts.
In this case, Bash complains:
bash: warning: command substitution: ignored null byte in input
More Information
No response
Other Steps to Reproduce
No response
The text was updated successfully, but these errors were encountered: