MaxTyutyunnikov / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

cat --locate=\x00 not working #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

check for 0 byte at a location using cat 

1.  cat --locate=\x0C --length=1 --number=1 --skip=0x1c2 (hd)0+1

returns 1C2 if byte 0C at 1C2

2.  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.

Original issue reported on code.google.com by Steve6375 on 7 Apr 2014 at 2:12

GoogleCodeExporter commented 9 years ago
I 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?

Original comment by chenall.cn on 12 Aug 2014 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by Steve6375 on 12 Aug 2014 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
Can you reproduce this bug?

Original comment by Steve6375 on 19 Aug 2014 at 4:19

GoogleCodeExporter commented 9 years ago

Original comment by chenall.cn on 20 Aug 2014 at 12:25

GoogleCodeExporter commented 9 years ago
Please try this.

Original comment by chenall.cn on 20 Aug 2014 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by chenall.cn on 20 Aug 2014 at 2:07

GoogleCodeExporter commented 9 years ago
Thanks! fixed :=)

Original comment by Steve6375 on 20 Aug 2014 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by chenall.cn on 26 Aug 2014 at 11:58