File ufraw-boundary.patch of Package ufraw
--- dcraw.cc.orig 2010-03-29 22:18:13.000000000 +0200
+++ dcraw.cc 2010-05-02 01:14:52.000000000 +0200
@@ -6875,9 +6875,9 @@
(cp = strstr(model,"FILE VERSION"))))
*cp = 0;
cp = make + strlen(make); /* Remove trailing spaces */
- while (*--cp == ' ') *cp = 0;
+ while (cp > make && *--cp == ' ') *cp = 0;
cp = model + strlen(model);
- while (*--cp == ' ') *cp = 0;
+ while (cp > model && *--cp == ' ') *cp = 0;
i = strlen(make); /* Remove make from model */
if (!strncasecmp (model, make, i) && model[i++] == ' ')
memmove (model, model+i, 64-i);