rpms/tetex/F-8 tetex-3.0-xdvi-badbar.patch, NONE, 1.1 tetex.spec, 1.122, 1.123

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Mon Jan 21 06:50:46 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/tetex/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11597

Modified Files:
	tetex.spec 
Added Files:
	tetex-3.0-xdvi-badbar.patch 
Log Message:
fix SIGSEGV on a double fullscreen toggle in xdvi (#429429)


tetex-3.0-xdvi-badbar.patch:

--- NEW FILE tetex-3.0-xdvi-badbar.patch ---
diff -up tetex-src-3.0/texk/xdvik/events.c.xdvisegfault tetex-src-3.0/texk/xdvik/events.c
--- tetex-src-3.0/texk/xdvik/events.c.badbar	2008-01-20 10:47:04.000000000 +0100
+++ tetex-src-3.0/texk/xdvik/events.c	2008-01-21 07:44:59.000000000 +0100
@@ -2552,7 +2552,7 @@ Act_fullscreen(Widget w, XEvent *event,
 	XtVaGetValues(globals.widgets.clip_widget, XtNy, &get_y, NULL);
 	curr_y = -(get_y - window_y);
 	if (curr_y - orig_y > 0)
-	    XtCallCallbacks(globals.widgets.x_bar, XtNscrollProc, (XtPointer)(curr_y - orig_y));
+	    XtCallCallbacks(globals.widgets.y_bar, XtNscrollProc, (XtPointer)(curr_y - orig_y));
 #endif /* MOTIF */
     }
     handle_x_scroll(NULL, NULL, NULL, NULL);


Index: tetex.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex/F-8/tetex.spec,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- tetex.spec	20 Jan 2008 09:58:13 -0000	1.122
+++ tetex.spec	21 Jan 2008 06:50:11 -0000	1.123
@@ -98,6 +98,7 @@
 Patch28: tetex-3.0-CVE-2007-5393.patch
 Patch29: tetex-3.0-dvipsoverflow.patch
 Patch30: tetex-3.0-dviljktemp.patch
+Patch31: tetex-3.0-xdvi-badbar.patch
 
 ######
 # Japanization patches
@@ -331,6 +332,8 @@
 %patch29 -p1 -b .dvipsoverflow
 # fix insecure usage of temporary file in dviljk (#368611, #368641)
 %patch30 -p1 -b .dviljktemp
+# xdvik gets SIGSEGV on a double fullscreen toggle (#429429)
+%patch31 -p1 -b .badbar
 
 %if %{enable_japanese}
 mkdir texmf/ptex-texmf
@@ -896,6 +899,7 @@
 %changelog
 * Sun Jan 20 2008 Jindrich Novy <jnovy at redhat.com> 3.0-44.7
 - fix navigation with a spacebar in xdvi (#417461)
+- fix SIGSEGV on a double fullscreen toggle in xdvi (#429429)
 
 * Fri Jan 18 2008 Jindrich Novy <jnovy at redhat.com> 3.0-44.6
 - obsolete only old xdvik version in order to not to clash wih




More information about the fedora-extras-commits mailing list