What steps will reproduce the problem?
check for 0 byte at a location using cat
- cat --locate=\x0C --length=1 --number=1 --skip=0x1c2 (hd)0+1
returns 1C2 if byte 0C at 1C2
- cat --locate=\x00 --length=1 --number=1 --skip=0x1c2 (hd)0+1
returns 1C3 if byte 0C at 1C2.
Is this a bug?
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
0.4.5c
Please provide any additional information below.
Comment #1
Posted on Aug 12, 2014 by Happy HippoI do not understand what you mean.
cat --locate=\x00 --length=1 --number=1 --skip=0x1c2 (hd)0+1
returns 1C3 if byte 0C at 1C2,where is \x00 located?
Comment #2
Posted on Aug 12, 2014 by Happy Kangaroo(No comment was entered for this change.)
Attachments- Capture_cat_search0bug.JPG 53.22KB
Comment #3
Posted on Aug 19, 2014 by Happy KangarooCan you reproduce this bug?
Comment #4
Posted on Aug 20, 2014 by Happy Hippo(No comment was entered for this change.)
Comment #5
Posted on Aug 20, 2014 by Happy HippoPlease try this.
Comment #6
Posted on Aug 20, 2014 by Happy Hippo(No comment was entered for this change.)
Comment #7
Posted on Aug 20, 2014 by Happy KangarooThanks! fixed :=)
Comment #8
Posted on Aug 26, 2014 by Happy Hippo(No comment was entered for this change.)
Status: Done
Labels:
Type-Defect
Priority-Medium