DRC_ITEM::m_noCoordinate can be left uninitialized if the second or
third DRC_ITEM constructor is called and not followed by
SetShowNoCoordinate().

Fix attached.

-- 
Andrew Zonenberg
PhD student, security group
Computer Science Department
Rensselaer Polytechnic Institute
http://colossus.cs.rpi.edu/~azonenberg/
=== modified file 'include/class_drc_item.h'
--- include/class_drc_item.h	2013-10-14 16:03:38 +0000
+++ include/class_drc_item.h	2014-08-16 03:06:36 +0000
@@ -111,6 +111,7 @@
         m_MainPosition      = aMainPos;
         m_AuxiliaryPosition = bAuxiliaryPos;
         m_hasSecondItem     = true;
+        m_noCoordinate      = false;
     }
 
     /**

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to