source: tests/io/.in/manipulatorsInput.txt @ 2fa0237

Last change on this file since 2fa0237 was 2fa0237, checked in by Michael Brooks <mlbrooks@…>, 9 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.

  • 123456
  • 123456789

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 
1123456
2123456789
3abc
4abc
5xx
6abcxxx
7abcyyy
8aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww
9abc
10abc
11xx
12abcxxx
13abcyyy
14aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww
15ab
160xff 017 15-15
170xff 017 15-15
180xff 017 15-15
190xff 017 15-15
200xff 017 15-15
210xff 017 15-15
220xff 017 15-15
230xff 017 15-15
240xff 017 15-15
250xff 017 15-15
263.5 3.456E+2 -0x1.2p-3 0X1.23p3
273.5 3.456E+2 -0x1.2p-3 0X1.23p3
283.5 3.456E+2 -0x1.2p-3 0X1.23p3
293.5 3.5 3.456E+23.456E+2 -0x1.2p-3 3.5 0X1.23p3     3.5
303.5 3.5 3.456E+23.456E+2 -0x1.2p-3 3.5 0X1.23p3     3.5
313.5 3.5 3.456E+23.456E+2 -0x1.2p-3 3.5 0X1.23p3     3.5
3225 -25 42798
331402432282 1505850196993244515
34394749758663249135511342
3512935154696204706112391834394
36
37423859149128410414395372834994551
38
39
4013889016598639747063234935497057631587
41170141183460469231731687303715884105727
42340282366920938463463374607431768211455
43-340282366920938463463374607431768211455
44340282366920938463463374607431768211455999
451234567890123456789 -1234567890123456789
Note: See TracBrowser for help on using the repository browser.