freebsd-ports/java/jdk16/files/patch-awt_Component.c
Alexey Zelkin 17eaf80bc2 . Set LATEST_LINK [1]
. Fix rare NULL pointer de-reference bug in plugin code [2]

. Use better chinese fonts [3]

. Bump PORTREVISION

Requested by:	kris [1]
Submitted by:	Georg-W. Koltermann <gwk@rahn-koltermann.de> [2],
		Clive Lin <clive@tongi.org> [3]
2004-03-05 13:43:41 +00:00

14 lines
547 B
C

$FreeBSD$
--- ../../j2se/src/solaris/native/sun/awt/awt_Component.c.orig 27 Oct 2003 12:16:41 -0000 1.4
+++ ../../j2se/src/solaris/native/sun/awt/awt_Component.c 1 Mar 2004 21:36:45 -0000 1.5
@@ -1179,7 +1179,7 @@
}
XtVaSetValues(to, XmNtraversalOn, True, NULL);
}
- } else if (from != NULL) {
+ } else if (from != NULL && to != NULL) {
// disable the tree starting from uncommon part to 'from'
if (parents_from[index] == parents_to[index]) {
if (index == count_from - 1) {