Update of /cvsroot/ufraw/ufraw In directory vz-cvs-3.sog:/tmp/cvs-serv7638 Modified Files: ufraw_ufraw.c Log Message: Fix valgrind warnings with 4-color cameras.
Index: ufraw_ufraw.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_ufraw.c,v retrieving revision 1.265 retrieving revision 1.266 diff -u -d -r1.265 -r1.266 --- ufraw_ufraw.c 12 Aug 2011 04:24:10 -0000 1.265 +++ ufraw_ufraw.c 18 Aug 2011 05:05:14 -0000 1.266 @@ -862,7 +862,7 @@ gint32 yy = (gint32)srcY; // TODO: better handling of the borders. if (xx < 0 || yy < 0 || xx + 1 >= img->width || yy + 1 >= img->height) { - for (c = 0; c < 3; c++) + for (c = 0; c < uf->colors; c++) cur[c] = 0; continue; } ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs