From a4e443fcce832fed1b6d82ba63ec23ed4fedd6f1 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 23 Nov 2024 15:47:06 +0100 Subject: [PATCH] precautionary prevent passing instances which internally have got upper case lettering. Removes a crash reported in https://gitlab.com/kicad/code/kicad/-/issues/18648. --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index cc15e4c6f..519b08daf 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -7193,7 +7193,7 @@ static bool inp_temper_compat(struct card *card) continue; } /* exclude some elements */ - if (strchr("*vbiegfh", curr_line[0])) + if (strchr("*vbiegfhVBIEGFH", curr_line[0])) continue; /* exclude all dot commands except .model */ if (curr_line[0] == '.' && !prefix(".model", curr_line))