[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#748028: marked as done (Conflicting parameter types yielding undefined behaviour)



Your message dated Tue, 10 Jun 2014 11:20:46 +0000
with message-id <E1WuK6g-0007A5-Rv@franck.debian.org>
and subject line Bug#748028: fixed in cups-filters 1.0.54-1
has caused the Debian Bug report #748028,
regarding Conflicting parameter types yielding undefined behaviour
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.)


-- 
748028: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748028
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-filters
Version: 1.0.53-1
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
libtool: link: gcc -DCONFIG_PATH=\"/etc/foomatic\" -I./cupsfilters/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/foomatic-rip foomatic_rip-foomaticrip.o foomatic_rip-options.o foomatic_rip-pdf.o foomatic_rip-postscript.o foomatic_rip-process.o foomatic_rip-renderer.o foomatic_rip-spooler.o foomatic_rip-util.o  -lm ./.libs/libcupsfilters.so /usr/lib/x86_64-linux-gnu/libtiff.so -ljpeg -ldl

file filter/foomatic-rip/pdf.c line 264: error: conflicting function declarations "print_pdf"
old definition in module foomaticrip file filter/foomatic-rip/pdf.h line 27
signed int (struct _IO_FILE *, const char *, unsigned long int, const char *, signed int)
new definition in module pdf file filter/foomatic-rip/pdf.c line 264
signed int (struct _IO_FILE *s, const char *alreadyread, unsigned long int len, const char *filename, unsigned long int startpos)
make[2]: *** [foomatic-rip] Error 64
make[2]: Leaving directory `/srv/jenkins-slave/workspace/sid-goto-cc-cups-filters/cups-filters-1.0.53'

Observe the difference (int vs. unsigned long) on the parameter startpos. For
any platform with sizeof(unsigned long) > sizeof(int), such as amd64, the high
bytes of startpos will take an arbitrary value.

If the semantics of startpos is what its name suggests, it may be worth raising
the severity of this bug report (if not tagging it security).

Best,
Michael

Attachment: pgpjoNJHwPqO0.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: cups-filters
Source-Version: 1.0.54-1

We believe that the bug you reported is fixed in the latest version of
cups-filters, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 748028@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups-filters package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 09 Jun 2014 11:47:15 +0200
Source: cups-filters
Binary: libcupsfilters1 libfontembed1 cups-filters cups-filters-core-drivers libcupsfilters-dev libfontembed-dev cups-browsed
Architecture: source amd64
Version: 1.0.54-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
 cups-browsed - OpenPrinting CUPS Filters - cups-browsed
 cups-filters - OpenPrinting CUPS Filters - Main Package
 cups-filters-core-drivers - OpenPrinting CUPS Filters - PPD-less printing
 libcupsfilters-dev - OpenPrinting CUPS Filters - Development files for the library
 libcupsfilters1 - OpenPrinting CUPS Filters - Shared library
 libfontembed-dev - OpenPrinting CUPS Filters - Development files for font embed libr
 libfontembed1 - OpenPrinting CUPS Filters - Font Embed Shared library
Closes: 748028
Changes:
 cups-filters (1.0.54-1) unstable; urgency=medium
 .
   * New upstream release:
     - pdftops: Default to "hybrid" setting for the PDF->PostScript
       renderer
     - foomatic-rip: Corrected declaration of print_pdf() function in
       pdf.h file (Closes: #748028)
     - cups-browsed: Create local queues also to access classes on
       remote CUPS servers (LP: #1313741)
   * Drop the ./configure option "--with-pdftops=hybrid" that is now default
   * Refresh patches
Checksums-Sha1:
 4d657a31b6fb26545cd4060ed7f54590fe7f6b96 2740 cups-filters_1.0.54-1.dsc
 5f9e6a7d63406110412d1fc8432bb2415f47622c 1314324 cups-filters_1.0.54.orig.tar.xz
 17c7cbdb35a442ed41c7ae4e44440c3d544bd4ff 65020 cups-filters_1.0.54-1.debian.tar.xz
 5fa7bf4aef51d55a15edbe83fd08189b3f5c4f22 99756 libcupsfilters1_1.0.54-1_amd64.deb
 21c8cb710cfeda11a5cf8f14c90ac98b29798058 69358 libfontembed1_1.0.54-1_amd64.deb
 f2dde4399b76ef272e80198f9528f3f1edc01e98 476136 cups-filters_1.0.54-1_amd64.deb
 2957339e89d3c4401dda0c30dc133ad95dce070d 136112 cups-filters-core-drivers_1.0.54-1_amd64.deb
 594b4e95b1ead55566bb08a2d11c79c51e08b72b 106148 libcupsfilters-dev_1.0.54-1_amd64.deb
 f5c8f8abd26c5c4f005530bb407d19c9680f96f5 72040 libfontembed-dev_1.0.54-1_amd64.deb
 a29c75b4a2f64412d8883813dc4ef0c1f9d173fd 74526 cups-browsed_1.0.54-1_amd64.deb
Checksums-Sha256:
 e37fa6bc3b7ba79b3d8dd2f0deeac77fd6d7a0e6bcfd504f9a19f89bf046d5b8 2740 cups-filters_1.0.54-1.dsc
 f9a58cc9f02f2257727248a71b99a74e6ef79e2e8527ef58bcd81e6154bc0966 1314324 cups-filters_1.0.54.orig.tar.xz
 1e5023f0173d7f9f936855926d13f468842364183cd1fd00e8eed25469dddb48 65020 cups-filters_1.0.54-1.debian.tar.xz
 3ff703ce3ddddf3c9e0e2be5eeaa7626b2197771a1c342a287c3d01b6ddcdf44 99756 libcupsfilters1_1.0.54-1_amd64.deb
 0e7f09aeed5c8ac9b1f83a3fe71a77d8c59063f75114df32b275734f0c20c333 69358 libfontembed1_1.0.54-1_amd64.deb
 ad49fa6ca2916cd0b76520589996685988cc323dc75e1d093c1b4ba6c0efcc0a 476136 cups-filters_1.0.54-1_amd64.deb
 12a39b36153bf294dac2ed91f2f9b27eb71729139bc733e0b1af8307eb64c36d 136112 cups-filters-core-drivers_1.0.54-1_amd64.deb
 d4c383aac9d5e808dfe87459162dd925cc0165f1174f316bf3004f6314c4aeab 106148 libcupsfilters-dev_1.0.54-1_amd64.deb
 4b6f79c213b2009e1e5afc7b4ddfcf5839fcb6ba696d438fe5dcdaea07d2a021 72040 libfontembed-dev_1.0.54-1_amd64.deb
 f7007a2dc1e759567b329775754a2ad400608c529f8c5057908d7d9f42f142fd 74526 cups-browsed_1.0.54-1_amd64.deb
Files:
 83a3af688ea3aa50361d2e1eab153c4e 99756 libs optional libcupsfilters1_1.0.54-1_amd64.deb
 dbb8f8eb186a53fd01dc6078cfa9d2ea 69358 libs optional libfontembed1_1.0.54-1_amd64.deb
 a950f78669620514654e4c35fea2efbf 476136 net optional cups-filters_1.0.54-1_amd64.deb
 db55dea3bc7c9a0b16f38258a09c06df 136112 net optional cups-filters-core-drivers_1.0.54-1_amd64.deb
 0c9a49c4005521f8bb834a5b00db1812 106148 libdevel optional libcupsfilters-dev_1.0.54-1_amd64.deb
 fe1a299bce67e450911e38efe2b45d4d 72040 libdevel optional libfontembed-dev_1.0.54-1_amd64.deb
 7129968213c1f8080373b63d82dd5367 74526 net optional cups-browsed_1.0.54-1_amd64.deb
 fe5c5dc38b8804cd4b2081d2ef14643a 2740 net optional cups-filters_1.0.54-1.dsc
 181ee0e6c27cfbb05e241f0267363678 1314324 net optional cups-filters_1.0.54.orig.tar.xz
 68fde27a8db559dbc786189d61a2560e 65020 net optional cups-filters_1.0.54-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBCAAGBQJTlYb2AAoJEIvPpx7KFjRVxaML/3sUv8W50GTJTCw5RWYXWxeG
3g51yhwtjKfnvObr2y6lgt0OhO6PMfrqxQ+2aV6KVATzWceVHCOHvYAb9Li9H/mZ
BfVUa/y2BpS2A9G4vVRE6sCZcVYHjMVVjEHCA1FTs+2WxAyAVxL51yRC2y2KZYOE
xa0ItUZM/GzibCeuEc6QTF28JcOeksnYajakJ3IA+cN+uBXP/rqtBC+CFn7LUaev
uw9OVuQz9PSJSdijoh9SZtEgYHCDXRR9yX190o5TzKHMpwIlqPsGCn5LE/bJpbs5
5OGkPZUZSe8x4EUbwCDhUjcXXkY9ouqglTd7dQNKgy82EpeTCjF5oY406lsW20WL
2gV/2UK8eHho4VYSG+15g92ppFFPJZisDmxxV3VlZqGlo0W2hT7G9OVKy9TqR43E
EfYYxW4V3Yv8EqOsXFb2IqvU2Si2crTQ7QF0xNivgR+pLsvQPVvYdTUj4k2YQ3Qp
2aUY3KdSlyLPncFCXTLKNOeTPX4wZzPnDU8dJI7C4Q==
=SkKO
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: