Fix OOB access in LSET when opening a PCB file or updating from schematic.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18422
This commit is contained in:
@@ -38,7 +38,7 @@ BOOST_AUTO_TEST_CASE(LSETConstructorEmpty)
|
||||
// Initialize LSET from another BASE_SET
|
||||
BOOST_AUTO_TEST_CASE(LSETConstructorFromBaseSet)
|
||||
{
|
||||
BASE_SET base;
|
||||
BASE_SET base( PCB_LAYER_ID_COUNT );
|
||||
base.set(F_Cu);
|
||||
base.set(In1_Cu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user