Author: abrander
Date: 2009-07-07 02:20:21 +0200 (Tue, 07 Jul 2009)
New Revision: 2569

Modified:
   trunk/plugins/lensfun/lensfun.c
Log:
Handle borked input in RSLensfun.

Modified: trunk/plugins/lensfun/lensfun.c
===================================================================
--- trunk/plugins/lensfun/lensfun.c     2009-07-07 00:19:46 UTC (rev 2568)
+++ trunk/plugins/lensfun/lensfun.c     2009-07-07 00:20:21 UTC (rev 2569)
@@ -261,6 +261,9 @@
                return response;
        }
 
+       if (!RS_IS_IMAGE16(input))
+               return response;
+
        gint i, j;
        lfDatabase *ldb = lf_db_new ();
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to