]> git.saurik.com Git - wxWidgets.git/blobdiff - art/htmfoldr.xpm
check for integer overflow which could result in buffer overrun when loading an inval...
[wxWidgets.git] / art / htmfoldr.xpm
index d7a1c7139ab0e47ad62640cda38386d978cf5ae8..dacef687b18caf878f16fcc9bc9cac94d7f906f5 100644 (file)
@@ -1,25 +1,25 @@
-/* XPM */
-static char * htmfoldr_xpm[] = {
-"16 16 6 1",
-"      c None",
-".     c Black",
-"X     c #000080",
-"o     c #c0c0c0",
-"O     c #808080",
-"+     c Gray100",
-"                ",
-"       ..       ",
-"     ..XX.      ",
-"   ..XXXXX.     ",
-" ..XXXXXXXX.    ",
-".oXXXXXXXXXX.   ",
-".XoXXXXXXXXXX.  ",
-".XXoXXXXXXXXXX. ",
-".XXXoXXXXXXXXX..",
-".XXXXoXXXXXX..O ",
-" .XXXXoXXX..O+O ",
-"  .XXXXo..O++o..",
-"   .XXX.O+++o.. ",
-"    .XX.o+o..   ",
-"     .X.o..     ",
-"      ...       "};
+/* XPM */\r
+static const char *const htmfoldr_xpm[] = {\r
+"16 16 6 1",\r
+"      c None",\r
+".     c Black",\r
+"X     c #000080",\r
+"o     c #c0c0c0",\r
+"O     c #808080",\r
+"+     c Gray100",\r
+"                ",\r
+"       ..       ",\r
+"     ..XX.      ",\r
+"   ..XXXXX.     ",\r
+" ..XXXXXXXX.    ",\r
+".oXXXXXXXXXX.   ",\r
+".XoXXXXXXXXXX.  ",\r
+".XXoXXXXXXXXXX. ",\r
+".XXXoXXXXXXXXX..",\r
+".XXXXoXXXXXX..O ",\r
+" .XXXXoXXX..O+O ",\r
+"  .XXXXo..O++o..",\r
+"   .XXX.O+++o.. ",\r
+"    .XX.o+o..   ",\r
+"     .X.o..     ",\r
+"      ...       "};\r