Forráskód Böngészése

FIX: Find files - crash with an invalid regular expression (issue #2249)

Alexander Koblov 3 hónapja
szülő
commit
f63a5a93c5
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      src/fFindDlg.pas

+ 2 - 0
src/fFindDlg.pas

@@ -1729,6 +1729,8 @@ begin
   Self.Repaint;
   Application.ProcessMessages;
 
+  if InvalidRegExpr then Exit;
+
   if cbFindInArchive.Enabled then
   begin
     if (cmbFindPathStart.Text = '') then begin