Hi there,Just sending the bug to the mail list in case it got lost in the bug tracker.
Cut utility incorrectly replaces null-byte (0x00) with \n (0x0a).Tested with Busybox 1.36.0 and Busybox 1.20.0 ("Busybox in VM" link on the website).
Busybox:$ echo -ne "\x00\x01\x02\x03\x04\x05\x06" | ./busybox cut -b 1-3 | hexdump -C
00000000 0a 01 02 03 0a |.....| 00000005 GNU coreutils: $ echo -ne "\x00\x01\x02\x03\x04\x05\x06" | cut -b 1-3 | hexdump -C 00000000 00 01 02 0a |....| 00000004 https://bugs.busybox.net/show_bug.cgi?id=15276
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
