Debian Codegraph @

test/pixmaps/invalid/unending-comment-c.xpm

raw
1 /* XPM */
2 static char * sample_xpm[] = {
3 "15 19 6 1",
4 " c None",
5 ". c #FFFFFF",
6 "+ c #000000",
7 "@ c #99FFCC",
8 "# c #66CCCC",
9 "$ c #339966",
10 /* This is the comment that never ends, it just goes on and on again...
11 Based on test case provided by Marco Ivaldi for CVE-2022-46285
12 ".+++++++++++++.",
13 "+@@@@@@@@@@@@#+",
14 "+@###########$+",
15 "+@###....####$+",
16 "+@##......###$+",
17 "+@#...$$...##$+",
18 "+@#..$$##..$#$+",
19 "+@##$$##...$#$+",
20 "+@#####...$$#$+",
21 "+@####...$$##$+",
22 "+@####..$$###$+",
23 "+@####..$####$+",
24 "+@#####$$####$+",
25 "+@####..#####$+",
26 "+@####..$####$+",
27 "+@#####$$####$+",
28 "+@###########$+",
29 "+#$$$$$$$$$$$$+",
30 ".+++++++++++++."};