[CVE-2017-7407] --write-out out of buffer read
[platform/upstream/curl.git] / tests / data / test1441
1 <testcase>
2 <info>
3 <keywords>
4 --write-out
5 </keywords>
6 </info>
7 # Server-side
8 <reply>
9 </reply>
10
11 # Client-side
12 <client>
13 <server>
14 file
15 </server>
16
17 <name>
18 Check --write-out with trailing %
19 </name>
20 <command>
21 file://localhost/%PWD/log/ --write-out '%'
22 </command>
23 </client>
24
25 # Verify data
26 <verify>
27 <stdout nonewline="yes">
28 %
29 </stdout>
30 </verify>
31 </testcase>