Last change
on this file since c2d728c was
2fa0237,
checked in by Michael Brooks <mlbrooks@…>, 14 months ago
|
Fix cstring input length interpretation issue that had a buffer overflow case.
The cases added to the manipulatorsInput test are runnable against an old libcfa build. In this setup, the test fails with an illustration of the bug.
The testing in this commit drives the following inputs through a length-8 buffer.
The obviously-missing cases, like 1234567, will be added later.
They will accompany fixes for further bugs not solved yet.
|
-
Property mode set to
100644
|
File size:
994 bytes
|
Line | |
---|
1 | 123456 |
---|
2 | 123456789 |
---|
3 | abc |
---|
4 | abc |
---|
5 | xx |
---|
6 | abcxxx |
---|
7 | abcyyy |
---|
8 | aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww |
---|
9 | abc |
---|
10 | abc |
---|
11 | xx |
---|
12 | abcxxx |
---|
13 | abcyyy |
---|
14 | aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww |
---|
15 | ab |
---|
16 | 0xff 017 15-15 |
---|
17 | 0xff 017 15-15 |
---|
18 | 0xff 017 15-15 |
---|
19 | 0xff 017 15-15 |
---|
20 | 0xff 017 15-15 |
---|
21 | 0xff 017 15-15 |
---|
22 | 0xff 017 15-15 |
---|
23 | 0xff 017 15-15 |
---|
24 | 0xff 017 15-15 |
---|
25 | 0xff 017 15-15 |
---|
26 | 3.5 3.456E+2 -0x1.2p-3 0X1.23p3 |
---|
27 | 3.5 3.456E+2 -0x1.2p-3 0X1.23p3 |
---|
28 | 3.5 3.456E+2 -0x1.2p-3 0X1.23p3 |
---|
29 | 3.5 3.5 3.456E+23.456E+2 -0x1.2p-3 3.5 0X1.23p3 3.5 |
---|
30 | 3.5 3.5 3.456E+23.456E+2 -0x1.2p-3 3.5 0X1.23p3 3.5 |
---|
31 | 3.5 3.5 3.456E+23.456E+2 -0x1.2p-3 3.5 0X1.23p3 3.5 |
---|
32 | 25 -25 42798 |
---|
33 | 1402432282 1505850196993244515 |
---|
34 | 394749758663249135511342 |
---|
35 | 12935154696204706112391834394 |
---|
36 | |
---|
37 | 423859149128410414395372834994551 |
---|
38 | |
---|
39 | |
---|
40 | 13889016598639747063234935497057631587 |
---|
41 | 170141183460469231731687303715884105727 |
---|
42 | 340282366920938463463374607431768211455 |
---|
43 | -340282366920938463463374607431768211455 |
---|
44 | 340282366920938463463374607431768211455999 |
---|
45 | 1234567890123456789 -1234567890123456789 |
---|
Note: See
TracBrowser
for help on using the repository browser.