mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Fix a cut'n paste error. One byte was uninitialised. Now fixed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12826
This commit is contained in:
parent
d8576fd3bc
commit
4c4dcca7d8
@ -444,9 +444,10 @@ convert_4_bytes(void)
|
||||
f0[1] = 0xc0; // invalid because outside [0x90 .. 0xbf]
|
||||
run_test(buff, sizeof buff, f0, sizeof f0);
|
||||
|
||||
f4[0] = 0xed; // valid
|
||||
f4[0] = 0xf4; // valid
|
||||
f4[1] = 0x7f; // invalid because outside [0x80 .. 0x8f]
|
||||
f4[2] = 0x80; // valid
|
||||
f4[3] = 0x80; // valid
|
||||
run_test(buff, sizeof buff, f4, sizeof f4);
|
||||
f4[1] = 0x90; // invalid because outside [0x80 .. 0x9f]
|
||||
run_test(buff, sizeof buff, f4, sizeof f4);
|
||||
|
||||
@ -989,13 +989,13 @@ UTF16: dbc0 dc00
|
||||
cc = 0
|
||||
dst address difference: 4 dst len: 1996
|
||||
src address difference: 4 src len: 0
|
||||
UTF8: ed 7f 80 00
|
||||
UTF16: dfc0 0000
|
||||
UTF8: f4 7f 80 80
|
||||
UTF16: d8bc dc00
|
||||
cc = 0
|
||||
dst address difference: 4 dst len: 1996
|
||||
src address difference: 4 src len: 0
|
||||
UTF8: ed 90 80 00
|
||||
UTF16: d400 0000
|
||||
UTF8: f4 90 80 80
|
||||
UTF16: d800 dc00
|
||||
cc = 0
|
||||
dst address difference: 4 dst len: 1996
|
||||
src address difference: 4 src len: 0
|
||||
|
||||
@ -989,16 +989,16 @@ UTF16: <none>
|
||||
cc = 2
|
||||
dst address difference: 0 dst len: 2000
|
||||
src address difference: 0 src len: 4
|
||||
UTF8: ed 7f 80 00
|
||||
UTF8: f4 7f 80 80
|
||||
UTF16: <none>
|
||||
cc = 2
|
||||
dst address difference: 0 dst len: 2000
|
||||
src address difference: 0 src len: 4
|
||||
UTF8: f4 90 80 80
|
||||
UTF16: <none>
|
||||
cc = 2
|
||||
dst address difference: 0 dst len: 2000
|
||||
src address difference: 0 src len: 4
|
||||
UTF8: ed 90 80 00
|
||||
UTF16: d400 0000
|
||||
cc = 0
|
||||
dst address difference: 4 dst len: 1996
|
||||
src address difference: 4 src len: 0
|
||||
UTF8: f1 7f 80 80
|
||||
UTF16: <none>
|
||||
cc = 2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user