Sometime in the last few weeks Busybox hexdump started failing to correctly format its output.
Examples -
Failed current version (busybox-1.37.0-r3):
echo -n "0123456789" | hexdump -v -e "\"%08x\""
000000300000003400000038
Working old version (busybox-1.36.1-r2):
echo -n "0123456789" | hexdump -v -e "\"%08x\""
333231303736353400003938
I'm assuming this is a bug unless somebody can enlighten me otherwise...
efahl
December 19, 2024, 4:15pm
2
bluewavenet:
000000300000003400000038
Yeah, that sure looks like a bug to me. Standard GNU hexdump behaves like busybox 1.36.1, looks like 1.37 is somehow truncating the input bytes to the an 8-bit value.
1 Like
hnyman
December 19, 2024, 6:23pm
3
Likely a manifestation of the bug being discussed in upstream busybox mailing list...
Now they applied a fix, but not yet accepted to 1.37.xxx
I will still do a PR about cherry-picking that fix to us.
1 Like
PR now merged. This only effected snapshot.
Thanks to @hnyman @hauke for the fast response!
1 Like
system
Closed
December 31, 2024, 9:57am
6
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.