kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02963
Gerbview Asserts under wx-2.9
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Marco Serantoni" <marco.serantoni@...>
-
Date:
Mon, 20 Jul 2009 17:00:33 -0000
-
User-agent:
eGroups-EW/0.82
This changes avoids an Array overflow (Asserted) when arguments are only 1.
Index: gerbview/gerbview.cpp
===================================================================
--- gerbview/gerbview.cpp (revision 1884)
+++ gerbview/gerbview.cpp (working copy)
@@ -79,7 +79,7 @@
Read_Config();
- if( argc == 0 )
+ if( argc <= 1 )
return true;
fn = argv[1];