Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
ufraw
ufraw-boundary.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ufraw-boundary.patch of Package ufraw
diff --git a/dcraw.cc b/dcraw.cc index 88c8068..de03771 100644 --- a/dcraw.cc +++ b/dcraw.cc @@ -8992,9 +8992,9 @@ void CLASS identify() if (!strncasecmp(model,"PENTAX",6)) strcpy (make, "Pentax"); 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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor