From: Po Lu Date: Thu, 17 Aug 2023 00:25:40 +0000 (+0800) Subject: Fix potential NULL pointer dereference X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbe6b48b3620385a4c9eeb72b20d39cfe706da76;p=emacs.git Fix potential NULL pointer dereference * java/org/gnu/emacs/EmacsDialog.java (display): Initialize rc.thing to false. --- diff --git a/java/org/gnu/emacs/EmacsDialog.java b/java/org/gnu/emacs/EmacsDialog.java index e4ed2271741..2291207fbcc 100644 --- a/java/org/gnu/emacs/EmacsDialog.java +++ b/java/org/gnu/emacs/EmacsDialog.java @@ -394,6 +394,7 @@ public final class EmacsDialog implements DialogInterface.OnDismissListener final EmacsHolder rc; rc = new EmacsHolder (); + rc.thing = false; runnable = new Runnable () { @Override public void