Validate symbol alias names read from .dcm files
Fixes: lp:1766551 * https://bugs.launchpad.net/kicad/+bug/1766551
This commit is contained in:
parent
4b3772cf07
commit
26ee673a6b
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue