From 228881f55296f492006f751b96d55c098ddd4c43 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 6 Jun 2018 10:12:04 +0200 Subject: [PATCH] Eagle SCH import: validate package (footprint) names --- eeschema/sch_eagle_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/sch_eagle_plugin.cpp b/eeschema/sch_eagle_plugin.cpp index c9ccc2f5c5..983607b7fe 100644 --- a/eeschema/sch_eagle_plugin.cpp +++ b/eeschema/sch_eagle_plugin.cpp @@ -1262,6 +1262,7 @@ EAGLE_LIBRARY* SCH_EAGLE_PLUGIN::loadLibrary( wxXmlNode* aLibraryNode, wxString symbolName = edeviceset.name + edevice.name; symbolName.Replace( "*", "" ); wxASSERT( !symbolName.IsEmpty() ); + LIB_ALIAS::ValidateName( symbolName ); if( edevice.package ) aEagleLibrary->package[symbolName] = edevice.package.Get();