Index: eps.c =================================================================== --- eps.c (revision 26064) +++ eps.c (revision 26065) @@ -335,7 +335,7 @@ static void eps_do_export(pcb_hidlib_t *hidlib, pcb_hid_attr_val_t *options) { int i; - int save_ons[PCB_MAX_LAYER + 2]; + int save_ons[PCB_MAX_LAYER]; if (!options) { eps_get_export_options(0); Index: ps.c =================================================================== --- ps.c (revision 26064) +++ ps.c (revision 26065) @@ -610,7 +610,7 @@ static void ps_do_export(pcb_hidlib_t *hidlib, pcb_hid_attr_val_t *options) { FILE *fh; - int save_ons[PCB_MAX_LAYER + 2]; + int save_ons[PCB_MAX_LAYER]; int i; if (!options) {