** Summary changed:
- hexdump :: unexpected error when input ends with backslash
+ hexdump :: irregular illegal seek
** Description changed:
Binary package hint: bsdmainutils
I just found out that the hexdump program from the bsdmainutils package
at least version 6.1.10ubuntu2 (also version 6.1.6 in Debian 4) for
- architecture AMD64 has some curious race conditional errors when dealing
- with backslashes at the end of a string while using the -s option
- (although there might be other characters or byte codes as well that may
- crash hexdump).
+ architecture AMD64 throws an "illegal seek" error when dealing with
+ stdin input while using the -s option.
- Simple test: echo "test\\" | hexdump -s 1
+ Simple test: echo "test" | hexdump -s 1
Most times all things are OK but sometimes it just throws an error:
"hexdump: stdin: Illegal seek"
The same tests made with "od" or "xxd" are OK.
I've attached a simple test script to verify the problem
("testBackslashHex.sh").
1.) using Ubuntu 8.10 (kernel 2.6.27.11-generic)
2.) bsdmainutils 6.1.10ubuntu2
3.) + 4.) see text
Ancoron
** Tags added: stdin
** Tags removed: backslash
--
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs