[libbluray-devel] HEventGroup: Fix null pointer dereference

hpi1 git at videolan.org
Wed Aug 27 10:48:46 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Aug 27 09:57:40 2014 +0300| [b107b51793c90c8e8bcd27619c5ddbf0aeb07701] | committer: hpi1

HEventGroup: Fix null pointer dereference

keys list was uninitialized.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=b107b51793c90c8e8bcd27619c5ddbf0aeb07701
---

 src/libbluray/bdj/java/org/havi/ui/event/HEventGroup.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/havi/ui/event/HEventGroup.java b/src/libbluray/bdj/java/org/havi/ui/event/HEventGroup.java
index 1d127d3..24c381e 100644
--- a/src/libbluray/bdj/java/org/havi/ui/event/HEventGroup.java
+++ b/src/libbluray/bdj/java/org/havi/ui/event/HEventGroup.java
@@ -96,5 +96,5 @@ public class HEventGroup {
         return arr;
     }
 
-    private LinkedList keys;
+    private LinkedList keys = new LinkedList();
 }



More information about the libbluray-devel mailing list