head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.28 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.26 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.24 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.22 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.20 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.18 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.16 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.14 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.12 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2007.03.14.12.29.06; author markd; state dead; branches; next 1.2; 1.2 date 2006.03.29.17.22.46; author joerg; state Exp; branches; next 1.1; 1.1 date 2005.12.17.04.22.55; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Update cups to 1.2.8 ok'ed jlam a while back. CUPS 1.2.8 adds a French localization, updates the Japanese and Spanish localizations, and fixes several web interface, printing, and networking bugs. CUPS 1.2.7 adds several Mac OS X improvements, implements timeouts in the SSL negotiation code, and fixes the bounding box generated by the PostScript filter, bidirectional support in the USB backend, and another case where the lpstat command could hang. CUPS 1.2.6 fixes some compile errors, localization of the web interface on Mac OS X, bugs in the lpc and lpstat commands, and backchannel support in the parallel backend. CUPS 1.2.5 fixes minor printing, networking, and documentation issues and adds support for older versions of DBUS and a translation for Estonian. CUPS 1.2.4 fixes a number of web interface, scheduler, and CUPS API issues. CUPS 1.2.3 fixes a number of web interface, networking, remote printing, and CUPS API issues. CUPS 1.2.2 fixes several build, platform, notification, and printing bugs. CUPS 1.2.1 fixes several build, platform, and printing bugs. CUPS 1.2.0 is the first stable feature release in the 1.2.x series and includes over 90 new features and changes since CUPS 1.1.23, including a greatly improved web interface and "plug-and-print" support for many local and network printers. @ text @$NetBSD: patch-bf,v 1.2 2006/03/29 17:22:46 joerg Exp $ --- pdftops/Stream.h.orig 2004-02-02 17:41:09.000000000 -0500 +++ pdftops/Stream.h @@@@ -231,6 +231,8 @@@@ public: ~StreamPredictor(); + GBool isOK() { return ok; } + int lookChar(); int getChar(); @@@@ -248,6 +250,7 @@@@ private: int rowBytes; // bytes per line Guchar *predLine; // line buffer int predIdx; // current index in predLine + GBool ok; }; //------------------------------------------------------------------------ @@@@ -530,7 +533,7 @@@@ private: short getWhiteCode(); short getBlackCode(); short lookBits(int n); - void eatBits(int n) { inputBits -= n; } + void eatBits(int n) { if ((inputBits -= n) < 0) inputBits = 0; } }; //------------------------------------------------------------------------ @ 1.2 log @Sync pdftops with xpdf 3.01pl2, fixing at least two possible integer overflows. Bump revision. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.1 2005/12/17 04:22:55 jlam Exp $ @ 1.1 log @Fix for the following security advisories which affect cups-1.1.x: CAN-2005-3191 CAN-2005-3192 The fixes were largely copied from xpdf-3.01pl1.patch from foolabs.com; however, patch-be for Stream.cxx also includes a proper fix for CAN-2005-3191 which was only partially fixed in the foolabs.com patch. Bump the PKGREVISION to 4. @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 + GBool isOk() { return ok; } d18 10 a27 1 + GBool ok; // flag for proper initialization @