diff options
author | Chris Lawrence <lawrencc@debian.org> | 2009-03-08 05:38:26 -0500 |
---|---|---|
committer | Didier Raboud <didier@raboud.com> | 2010-05-23 00:08:53 +0200 |
commit | 22eb66defb3c4b4edc572c258e2b4ba3882075c0 (patch) | |
tree | 666df56b3f7d045642a405a8bb353cdfc07a2e16 | |
parent | 845a50980e8a88b1619c6b0b7dce27e13e0e0d7c (diff) |
Imported Debian patch 4.0-20090301-3debian/4.0-20090301-3
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | renderer.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index ccbbfd4..60af45c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +foomatic-filters (4.0-20090301-3) unstable; urgency=low + + * Fix another bug in foomatic-rip that led to null pointer dereferences + when using the hl1250 driver. (Closes: #518117) + + -- Chris Lawrence <lawrencc@debian.org> Sun, 08 Mar 2009 05:38:26 -0500 + foomatic-filters (4.0-20090301-2) unstable; urgency=low * Fix bug in foomatic-rip that could leave two 'gs' calls in the command @@ -190,7 +190,7 @@ static int jcl_keywords_equal(const char *jclline1, const char *jclline2, j1 = strstr(jclline1, jclstr); if (!j1) return 0; if (!(p1 = strchr(skip_whitespace(j1), '='))) - p1 = j1[strlen(j1)]; + p1 = &j1[strlen(j1)]; p1--; while (p1 > j1 && isspace(*p1)) p1--; @@ -198,7 +198,7 @@ static int jcl_keywords_equal(const char *jclline1, const char *jclline2, j2 = strstr(jclline2, jclstr); if (!j2) return 0; if (!(p2 = strchr(skip_whitespace(j2), '='))) - p2 = j2[strlen(j2)]; + p2 = &j2[strlen(j2)]; p2--; while (p2 > j2 && isspace(*p2)) p2--; |