Index: svg.c =================================================================== --- svg.c (revision 26064) +++ svg.c (revision 26065) @@ -314,7 +314,7 @@ static void svg_do_export(pcb_hidlib_t *hidlib, pcb_hid_attr_val_t *options) { const char *filename; - int save_ons[PCB_MAX_LAYER + 2]; + int save_ons[PCB_MAX_LAYER]; int i; comp_cnt = 0;