Your message dated Sat, 05 Sep 2015 14:33:54 +0100 with message-id <1441460034.2151.33.camel@adam-barratt.org.uk> and subject line Closing bugs for 7.9 has caused the Debian Bug report #781542, regarding pu: package hp2xx/3.4.4-8 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 781542: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781542 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: pu: package hp2xx/3.4.4-8
- From: "Christian T. Steigies" <cts@debian.org>
- Date: Mon, 30 Mar 2015 21:17:58 +0200
- Message-id: <20150330191758.17704.55869.reportbug@guido.earth.sol>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: pu Dear release team, I received a report for crashes in hp2xx which were found with American fuzzy lop (afl). For unstable I already uploaded -10 with the following patch. It should apply to the version in stable as well since nothing changed in the code in between. Please advise how to proceed. Christian diff -uwr hp2xx-3.4.4a/sources/hpgl.c hp2xx-3.4.4afl//sources/hpgl.c --- hp2xx-3.4.4a/sources/hpgl.c 2003-06-21 19:54:45.000000000 +0200 +++ hp2xx-3.4.4afl//sources/hpgl.c 2015-03-28 16:01:10.000000000 +0100 @@ -1297,9 +1297,14 @@ ** EOF if EOF met **/ { - int c; + volatile int c; /* Keep compilers from optimizing out the initial EOF check */ + int i; char *ptr, numbuf[80]; + c = getc(hd); + if (c == EOF) return EOF; + ungetc (c, hd); + for (c = getc(hd); (c != '.') && (c != '+') && (c != '-') && ((c < '0') || (c > '9')); @@ -1316,9 +1321,13 @@ } /* Number found: Get it */ ptr = numbuf; + i = 0; for (*ptr++ = c, c = getc(hd); - ((c >= '0') && (c <= '9')) || (c == '.'); c = getc(hd)) + ((c >= '0') && (c <= '9')) || (c == '.') || (c == '\n'); c = getc(hd)) + if (c != '\n') { *ptr++ = c; /* Read number */ + i++; if (i == 79) break; /* until buffer full */ + } *ptr = '\0'; if (c != EOF) ungetc(c, hd); diff -uwr hp2xx-3.4.4a/sources/lindef.c hp2xx-3.4.4afl//sources/lindef.c --- hp2xx-3.4.4a/sources/lindef.c 2003-06-21 17:31:51.000000000 +0200 +++ hp2xx-3.4.4afl//sources/lindef.c 2015-03-28 15:55:29.000000000 +0100 @@ -92,6 +92,11 @@ return; } else { index = (int) tmp; + if (index > LT_MAX || index < -LT_MAX) { + if (!silent_mode) + fprintf(stderr,"UL command for invalid linetype %d ignored\n",index); + return; + } } pos_index = index - LT_MIN; diff -uwr hp2xx-3.4.4a/sources/picbuf.c hp2xx-3.4.4afl//sources/picbuf.c --- hp2xx-3.4.4a/sources/picbuf.c 2003-06-21 17:31:51.000000000 +0200 +++ hp2xx-3.4.4afl//sources/picbuf.c 2015-03-28 15:55:29.000000000 +0100 @@ -340,6 +340,10 @@ return NULL; } + if (n_rows <= 0 || n_cols <= 0) { + Eprintf("Invalid image dimensions: %d x %d\n",n_rows,n_cols); + return NULL; + } pb->nr = n_rows; pb->nc = n_cols; pb->sd = NULL; -- System Information: Debian Release: 7.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
- To: 725661-done@bugs.debian.org, 770955-done@bugs.debian.org, 773796-done@bugs.debian.org, 774773-done@bugs.debian.org, 774820-done@bugs.debian.org, 774850-done@bugs.debian.org, 774921-done@bugs.debian.org, 775380-done@bugs.debian.org, 775603-done@bugs.debian.org, 775664-done@bugs.debian.org, 775825-done@bugs.debian.org, 776095-done@bugs.debian.org, 776734-done@bugs.debian.org, 776781-done@bugs.debian.org, 776884-done@bugs.debian.org, 777046-done@bugs.debian.org, 777047-done@bugs.debian.org, 777372-done@bugs.debian.org, 777553-done@bugs.debian.org, 778622-done@bugs.debian.org, 779083-done@bugs.debian.org, 779622-done@bugs.debian.org, 779926-done@bugs.debian.org, 780191-done@bugs.debian.org, 780471-done@bugs.debian.org, 780798-done@bugs.debian.org, 780924-done@bugs.debian.org, 781281-done@bugs.debian.org, 781406-done@bugs.debian.org, 781542-done@bugs.debian.org, 781885-done@bugs.debian.org, 781965-done@bugs.debian.org, 782042-done@bugs.debian.org, 782165-done@bugs.debian.org, 782409-done@bugs.debian.org, 782600-done@bugs.debian.org, 782663-done@bugs.debian.org, 782848-done@bugs.debian.org, 783659-done@bugs.debian.org, 783749-done@bugs.debian.org, 784102-done@bugs.debian.org, 785155-done@bugs.debian.org, 785348-done@bugs.debian.org, 785735-done@bugs.debian.org, 786691-done@bugs.debian.org, 786830-done@bugs.debian.org, 786919-done@bugs.debian.org, 787076-done@bugs.debian.org, 787403-done@bugs.debian.org, 787933-done@bugs.debian.org, 787947-done@bugs.debian.org, 788064-done@bugs.debian.org, 788242-done@bugs.debian.org, 788558-done@bugs.debian.org, 788664-done@bugs.debian.org, 790692-done@bugs.debian.org, 790940-done@bugs.debian.org, 793028-done@bugs.debian.org, 794962-done@bugs.debian.org, 795166-done@bugs.debian.org, 795892-done@bugs.debian.org, 797079-done@bugs.debian.org, 797213-done@bugs.debian.org
- Subject: Closing bugs for 7.9
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 05 Sep 2015 14:33:54 +0100
- Message-id: <1441460034.2151.33.camel@adam-barratt.org.uk>
Version: 7.9 Hi, These bugs relate to updates which were included in the 7.9 point release. Regards, Adam
--- End Message ---