diff -Nru winff-1.3.0/debian/changelog winff-1.3.0/debian/changelog --- winff-1.3.0/debian/changelog 2010-10-24 13:21:09.000000000 +0200 +++ winff-1.3.0/debian/changelog 2010-10-30 14:12:36.000000000 +0200 @@ -1,3 +1,10 @@ +winff (1.3.0-1ubuntu2) natty; urgency=low + + * Fixed uninitialize variable in function to replace user entered + parameters in original preset (LP: 574921) + + -- Paul Gevers Sat, 30 Oct 2010 14:07:59 +0200 + winff (1.3.0-1ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: diff -Nru winff-1.3.0/debian/patches/fix_unitialized_endpos_in_replaceparam winff-1.3.0/debian/patches/fix_unitialized_endpos_in_replaceparam --- winff-1.3.0/debian/patches/fix_unitialized_endpos_in_replaceparam 1970-01-01 01:00:00.000000000 +0100 +++ winff-1.3.0/debian/patches/fix_unitialized_endpos_in_replaceparam 2010-10-30 14:18:06.000000000 +0200 @@ -0,0 +1,17 @@ +Description: endpos undefined in replaceparam when replacing last option + in preset +Author: Paul Gevers +Bug: http://code.google.com/p/winff/issues/detail?id=63 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/winff/+bug/574921 +Origin: upstream, http://code.google.com/p/winff/source/detail?r=491 + +--- winff-1.3.0.orig/unit1.pas ++++ winff-1.3.0/unit1.pas +@@ -1872,6 +1872,7 @@ i,startpos,endpos: integer; + + begin + startpos:=pos(param +' ', commandline); ++ endpos:=length(commandline)+1; + if startpos <> 0 then + begin + for I:=startpos+1 to length(commandline)-1 do diff -Nru winff-1.3.0/debian/patches/series winff-1.3.0/debian/patches/series --- winff-1.3.0/debian/patches/series 2010-07-21 20:14:49.000000000 +0200 +++ winff-1.3.0/debian/patches/series 2010-10-30 14:16:50.000000000 +0200 @@ -1,2 +1,3 @@ dutch_translation norwegian_translation +fix_unitialized_endpos_in_replaceparam