Imported Debian patch 4.0-20090301-3
Chris Lawrence authored 15 years ago
Didier Raboud committed 13 years ago
|
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 |
|
0 | 7 |
foomatic-filters (4.0-20090301-2) unstable; urgency=low
|
1 | 8 |
|
2 | 9 |
* Fix bug in foomatic-rip that could leave two 'gs' calls in the command
|
189 | 189 |
j1 = strstr(jclline1, jclstr);
|
190 | 190 |
if (!j1) return 0;
|
191 | 191 |
if (!(p1 = strchr(skip_whitespace(j1), '=')))
|
192 | |
p1 = j1[strlen(j1)];
|
|
192 |
p1 = &j1[strlen(j1)];
|
193 | 193 |
p1--;
|
194 | 194 |
while (p1 > j1 && isspace(*p1))
|
195 | 195 |
p1--;
|
|
197 | 197 |
j2 = strstr(jclline2, jclstr);
|
198 | 198 |
if (!j2) return 0;
|
199 | 199 |
if (!(p2 = strchr(skip_whitespace(j2), '=')))
|
200 | |
p2 = j2[strlen(j2)];
|
|
200 |
p2 = &j2[strlen(j2)];
|
201 | 201 |
p2--;
|
202 | 202 |
while (p2 > j2 && isspace(*p2))
|
203 | 203 |
p2--;
|