head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.42 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.40 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.38 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.36 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.34 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.32 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.30 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.28 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.26 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.24 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.22 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.20 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.18 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.16 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.14 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.12 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.10 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.8 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.6 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.4 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.2; locks; strict; comment @# @; 1.2 date 2005.03.23.22.11.57; author markd; state dead; branches; next 1.1; 1.1 date 2005.02.20.11.31.11; author markd; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.02.20.11.31.11; author snj; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.02.20.18.45.06; author snj; state Exp; branches; next ; desc @@ 1.2 log @Update to KDE 3.4 Highlights at a glance * Text-to-speech system with support built into Konqueror, Kate, KPDF and the standalone application KSayIt * Support for text to speech synthesis is integrated with the desktop * Completely redesigned, more flexible trash system * Kicker with improved look and feel * KPDF now enables you to select, copy & paste text and images from PDFs, along with many other improvements * Kontact supports now various groupware servers, including eGroupware, GroupWise, Kolab, OpenGroupware.org and SLOX * Kopete supports Novell Groupwise and Lotus Sametime and gets integrated into Kontact * DBUS/HAL support allows to keep dynamic device icons in media:/ and on the desktop in sync with the state of all devices * KHTML has improved standard support and now close to full support for CSS 2.1 and the CSS 3 Selectors module * Better synchronization between 2 PCs * A new high contrast style and a complete monochrome icon set * An icon effect to paint all icons in two chosen colors, converting third party application icons into high contrast monochrome icons * Akregator allows you to read news from your favourite RSS-enabled websites in one application * Juk has now an album cover management via Google Image Search * KMail now stores passwords securely with KWallet * SVG files can now be used as wallpapers * KHTML plug-ins are now configurable, so the user can selectively disable ones that are not used. This does not include Netscape-style plug-ins. Netscape plug-in in CPU usage can be manually lowered, and plug-ins are more stable. * more than 6,500 bugs have been fixed * more than 1,700 wishes have been fullfilled * more than 80,000 contributions with several million lines of code and documentation added or changed @ text @$NetBSD: patch-ao,v 1.1 2005/02/20 11:31:11 markd Exp $ --- kstars/kstars/indi/lilxml.c.orig 2004-06-25 21:10:04.000000000 +1200 +++ kstars/kstars/indi/lilxml.c 2005-02-19 15:01:32.000000000 +1300 @@@@ -32,6 +32,7 @@@@ #include #include "lilxml.h" +#include "indicom.h" static int oneXMLchar (LilXML *lp, int c, char errmsg[]); static void initParser(LilXML *lp); @@@@ -156,7 +157,7 @@@@ /* EOF? */ if (newc == 0) { - sprintf (errmsg, "Line %d: XML EOF", lp->ln); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: XML EOF", lp->ln); initParser(lp); return (NULL); } @@@@ -344,7 +345,7 @@@@ /* search ep for an attribute with the given name and return its value. * return "" if not found. */ -char * +const char * findXMLAttValu (XMLEle *ep, char *name) { XMLAtt *a = findXMLAtt (ep, name); @@@@ -428,7 +429,7 @@@@ growString (&lp->ce->tag, c); lp->cs = INTAG; } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus tag char %c", lp->ln, c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus tag char %c", lp->ln, c); return (-1); } break; @@@@ -454,7 +455,7 @@@@ growString (&lp->ce->at[lp->ce->nat-1]->name, c); lp->cs = INATTRN; } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus leading attr name char: %c", + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus leading attr name char: %c", lp->ln, c); return (-1); } @@@@ -467,7 +468,7 @@@@ popXMLEle(lp); lp->cs = LOOK4CON; } else { - sprintf (errmsg, "Line %d: Bogus char %c before >", lp->ln, c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus char %c before >", lp->ln, c); return (-1); } break; @@@@ -478,7 +479,7 @@@@ else if (isspace(c) || c == '=') lp->cs = LOOK4ATTRV; else { - sprintf (errmsg, "Line %d: Bogus attr name char: %c", lp->ln,c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus attr name char: %c", lp->ln,c); return (-1); } break; @@@@ -489,7 +490,7 @@@@ growString (&lp->ce->at[lp->ce->nat-1]->valu, '\0'); lp->cs = INATTRV; } else if (!(isspace(c) || c == '=')) { - sprintf (errmsg, "Line %d: No value for attribute %s", lp->ln, + snprintf (errmsg, ERRMSG_SIZE, "Line %d: No value for attribute %.100s", lp->ln, lp->ce->at[lp->ce->nat-1]->name); return (-1); } @@@@ -547,7 +548,7 @@@@ growString (&lp->endtag, c); lp->cs = INCLOSETAG; } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus preend tag char %c", lp->ln,c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus preend tag char %c", lp->ln,c); return (-1); } break; @@@@ -557,7 +558,7 @@@@ growString (&lp->endtag, c); else if (c == '>') { if (strcmp (lp->ce->tag, lp->endtag)) { - sprintf (errmsg,"Line %d: closing tag %s does not match %s", + snprintf (errmsg, ERRMSG_SIZE, "Line %d: closing tag %.64s does not match %.64s", lp->ln, lp->endtag, lp->ce->tag); return (-1); } else if (lp->ce->pe) { @@@@ -566,7 +567,7 @@@@ } else return (1); /* yes! */ } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus end tag char %c", lp->ln, c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus end tag char %c", lp->ln, c); return (-1); } break; @@@@ -723,7 +724,7 @@@@ main (int ac, char *av[]) { LilXML *lp = newLilXML(); - char errmsg[1024]; + char errmsg[ERRMSG_SIZE]; XMLEle *root; root = readXMLFile (stdin, lp, errmsg); @ 1.1 log @Fix for http://www.kde.org/info/security/advisory-20050215-1.txt. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-ao was added on branch pkgsrc-2004Q4 on 2005-02-20 11:31:11 +0000 @ text @d1 111 @ 1.1.2.2 log @Pullup ticket 299 - requested by Mark Davies security fix for kdeedu3 Revisions pulled up: - pkgsrc/misc/kdeedu3/Makefile 1.29 - pkgsrc/misc/kdeedu3/distinfo 1.22 - pkgsrc/misc/kdeedu3/patches/patch-ac 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ad 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ae 1.1 - pkgsrc/misc/kdeedu3/patches/patch-af 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ag 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ah 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ai 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aj 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ak 1.1 - pkgsrc/misc/kdeedu3/patches/patch-al 1.1 - pkgsrc/misc/kdeedu3/patches/patch-am 1.1 - pkgsrc/misc/kdeedu3/patches/patch-an 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ao 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ap 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aq 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ar 1.1 - pkgsrc/misc/kdeedu3/patches/patch-as 1.1 - pkgsrc/misc/kdeedu3/patches/patch-at 1.1 - pkgsrc/misc/kdeedu3/patches/patch-au 1.1 - pkgsrc/misc/kdeedu3/patches/patch-av 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aw 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ax 1.1 Module Name: pkgsrc Committed By: markd Date: Sun Feb 20 11:31:11 UTC 2005 Modified Files: pkgsrc/misc/kdeedu3: Makefile distinfo Added Files: pkgsrc/misc/kdeedu3/patches: patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-ai patch-aj patch-ak patch-al patch-am patch-an patch-ao patch-ap patch-aq patch-ar patch-as patch-at patch-au patch-av patch-aw patch-ax Log Message: Fix for http://www.kde.org/info/security/advisory-20050215-1.txt. Bump PKGREVISION. @ text @a0 111 $NetBSD: patch-ao,v 1.1.2.1 2005/02/20 18:45:06 snj Exp $ --- kstars/kstars/indi/lilxml.c.orig 2004-06-25 21:10:04.000000000 +1200 +++ kstars/kstars/indi/lilxml.c 2005-02-19 15:01:32.000000000 +1300 @@@@ -32,6 +32,7 @@@@ #include #include "lilxml.h" +#include "indicom.h" static int oneXMLchar (LilXML *lp, int c, char errmsg[]); static void initParser(LilXML *lp); @@@@ -156,7 +157,7 @@@@ /* EOF? */ if (newc == 0) { - sprintf (errmsg, "Line %d: XML EOF", lp->ln); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: XML EOF", lp->ln); initParser(lp); return (NULL); } @@@@ -344,7 +345,7 @@@@ /* search ep for an attribute with the given name and return its value. * return "" if not found. */ -char * +const char * findXMLAttValu (XMLEle *ep, char *name) { XMLAtt *a = findXMLAtt (ep, name); @@@@ -428,7 +429,7 @@@@ growString (&lp->ce->tag, c); lp->cs = INTAG; } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus tag char %c", lp->ln, c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus tag char %c", lp->ln, c); return (-1); } break; @@@@ -454,7 +455,7 @@@@ growString (&lp->ce->at[lp->ce->nat-1]->name, c); lp->cs = INATTRN; } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus leading attr name char: %c", + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus leading attr name char: %c", lp->ln, c); return (-1); } @@@@ -467,7 +468,7 @@@@ popXMLEle(lp); lp->cs = LOOK4CON; } else { - sprintf (errmsg, "Line %d: Bogus char %c before >", lp->ln, c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus char %c before >", lp->ln, c); return (-1); } break; @@@@ -478,7 +479,7 @@@@ else if (isspace(c) || c == '=') lp->cs = LOOK4ATTRV; else { - sprintf (errmsg, "Line %d: Bogus attr name char: %c", lp->ln,c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus attr name char: %c", lp->ln,c); return (-1); } break; @@@@ -489,7 +490,7 @@@@ growString (&lp->ce->at[lp->ce->nat-1]->valu, '\0'); lp->cs = INATTRV; } else if (!(isspace(c) || c == '=')) { - sprintf (errmsg, "Line %d: No value for attribute %s", lp->ln, + snprintf (errmsg, ERRMSG_SIZE, "Line %d: No value for attribute %.100s", lp->ln, lp->ce->at[lp->ce->nat-1]->name); return (-1); } @@@@ -547,7 +548,7 @@@@ growString (&lp->endtag, c); lp->cs = INCLOSETAG; } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus preend tag char %c", lp->ln,c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus preend tag char %c", lp->ln,c); return (-1); } break; @@@@ -557,7 +558,7 @@@@ growString (&lp->endtag, c); else if (c == '>') { if (strcmp (lp->ce->tag, lp->endtag)) { - sprintf (errmsg,"Line %d: closing tag %s does not match %s", + snprintf (errmsg, ERRMSG_SIZE, "Line %d: closing tag %.64s does not match %.64s", lp->ln, lp->endtag, lp->ce->tag); return (-1); } else if (lp->ce->pe) { @@@@ -566,7 +567,7 @@@@ } else return (1); /* yes! */ } else if (!isspace(c)) { - sprintf (errmsg, "Line %d: Bogus end tag char %c", lp->ln, c); + snprintf (errmsg, ERRMSG_SIZE, "Line %d: Bogus end tag char %c", lp->ln, c); return (-1); } break; @@@@ -723,7 +724,7 @@@@ main (int ac, char *av[]) { LilXML *lp = newLilXML(); - char errmsg[1024]; + char errmsg[ERRMSG_SIZE]; XMLEle *root; root = readXMLFile (stdin, lp, errmsg); @