From 22ed2e73ff95f18c578b15f5556cb9fb994f3b75 Mon Sep 17 00:00:00 2001 From: Rebecca Bettencourt Date: Tue, 30 Jul 2024 06:42:24 -0700 Subject: [PATCH] More sensible limit on length of inspector data --- .../src/com/kreative/hexcellent/editor/JHexEditorInspector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/Hexcellent/src/com/kreative/hexcellent/editor/JHexEditorInspector.java b/java/Hexcellent/src/com/kreative/hexcellent/editor/JHexEditorInspector.java index 1cbce4b..b9b3de0 100644 --- a/java/Hexcellent/src/com/kreative/hexcellent/editor/JHexEditorInspector.java +++ b/java/Hexcellent/src/com/kreative/hexcellent/editor/JHexEditorInspector.java @@ -27,7 +27,7 @@ public class JHexEditorInspector extends JPanel { private static final long serialVersionUID = 1L; - private static final int MAX_LENGTH = (1 << 16); + private static final int MAX_LENGTH = 256; private final JHexEditor parent; private final JTextField binField;