Validate symbol alias names read from .dcm files

Fixes: lp:1766551
* https://bugs.launchpad.net/kicad/+bug/1766551
This commit is contained in:
Maciej Suminski 2018-04-25 10:15:03 +02:00
parent 4b3772cf07
commit 26ee673a6b
1 changed files with 1 additions and 1 deletions

View File

@ -2424,7 +2424,7 @@ void SCH_LEGACY_PLUGIN_CACHE::loadDocs()
SCH_PARSE_ERROR( "$CMP command expected", reader, line );
parseUnquotedString( aliasName, reader, line, &line ); // Alias name.
LIB_ALIAS::ValidateName( aliasName );
LIB_ALIAS_MAP::iterator it = m_aliases.find( aliasName );
if( it == m_aliases.end() )