Codebase list foomatic-filters / 22eb66d
Imported Debian patch 4.0-20090301-3 Chris Lawrence authored 15 years ago Didier Raboud committed 13 years ago
2 changed file(s) with 9 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 foomatic-filters (4.0-20090301-3) unstable; urgency=low
1
2 * Fix another bug in foomatic-rip that led to null pointer dereferences
3 when using the hl1250 driver. (Closes: #518117)
4
5 -- Chris Lawrence <lawrencc@debian.org> Sun, 08 Mar 2009 05:38:26 -0500
6
07 foomatic-filters (4.0-20090301-2) unstable; urgency=low
18
29 * Fix bug in foomatic-rip that could leave two 'gs' calls in the command
189189 j1 = strstr(jclline1, jclstr);
190190 if (!j1) return 0;
191191 if (!(p1 = strchr(skip_whitespace(j1), '=')))
192 p1 = j1[strlen(j1)];
192 p1 = &j1[strlen(j1)];
193193 p1--;
194194 while (p1 > j1 && isspace(*p1))
195195 p1--;
197197 j2 = strstr(jclline2, jclstr);
198198 if (!j2) return 0;
199199 if (!(p2 = strchr(skip_whitespace(j2), '=')))
200 p2 = j2[strlen(j2)];
200 p2 = &j2[strlen(j2)];
201201 p2--;
202202 while (p2 > j2 && isspace(*p2))
203203 p2--;