[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FTBS of ardour



On Sunday 21 October 2007 08:19:23 Nico Golde wrote:
> Hi Ardour maintainers,
> Did someone of you already look into:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446597?
> I ask because this is the only thing missing from fixing the
> security flaw in ardour described on:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445889

The scons bug that was blocking this is gone[1], anyone with ardour experience 
care to fix that bug? AFAICS, it is just a matter of applying the attached 
patch.

 

[1]http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444204

-- 

	Felipe Sateler
diff -Nru trunk/gtk2_ardour/editor_mouse.cc trunk.new/gtk2_ardour/editor_mouse.cc
--- trunk/gtk2_ardour/editor_mouse.cc	2007-10-22 19:30:28.000000000 -0300
+++ trunk.new/gtk2_ardour/editor_mouse.cc	2007-10-22 19:38:39.000000000 -0300
@@ -1530,8 +1530,8 @@
 		*/
 		if (!drag_info.move_threshold_passed) {
 
-			bool x_threshold_passed =  (abs ((nframes64_t) (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL);
-			bool y_threshold_passed =  (abs ((nframes64_t) (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL);
+			bool x_threshold_passed =  (((nframes64_t) abs (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL);
+			bool y_threshold_passed =  (((nframes64_t) abs (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL);
 			
 			drag_info.move_threshold_passed = (x_threshold_passed || y_threshold_passed);
 			

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: