Control: tags -1 patch

Hi,

I investigated this a bit by comparing in gdb a good version of limereg
compiled without -Ofast and -fstack-protector and the original version.

It looks like this was just an uninitialized variable in
test_searchSubimage.c. Applying the attached patch fixes this issue for
me on mipsel.

Thanks,
James
--- a/tests/test_searchSubimage.c
+++ b/tests/test_searchSubimage.c
@@ -86,6 +86,7 @@ bool test_searchSubimage()
 	const unsigned int skipLvl=2;
 	struct Limereg_AdvancedRegControl advancedRegControl;
 	advancedRegControl.maxIterations = 50;
+	advancedRegControl.stopSensitivity = 0;
 	advancedRegControl.pyramidLevelCount = pyramidLvl;
 	advancedRegControl.skipFineLevelCount = skipLvl;
 	advancedRegControl.startParameters = &startParams;

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to