--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [IRCServices Coding] Services 5.0 alpha 9 released
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Services%205.0%20alpha%209%20released&In-Reply-To=">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000071.html">
+ <LINK REL="Next" HREF="000069.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[IRCServices Coding] Services 5.0 alpha 9 released</H1>
+ <B>Andrew Church</B>
+ <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Services%205.0%20alpha%209%20released&In-Reply-To="
+ TITLE="[IRCServices Coding] Services 5.0 alpha 9 released">achurch at achurch.org
+ </A><BR>
+ <I>Wed Dec 26 03:08:51 PST 2001</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000071.html">[IRCServices Coding] More bugs... :)
+</A></li>
+ <LI>Next message: <A HREF="000069.html">[IRCServices Coding] Services 5.0 alpha 9 released
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#68">[ date ]</a>
+ <a href="thread.html#68">[ thread ]</a>
+ <a href="subject.html#68">[ subject ]</a>
+ <a href="author.html#68">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>><i>I was playing with the httpd/dbaccess/xml-export module, and IE6's
+</I>><i>usually annoying XML syntax checking pointed something out. Where
+</I>><i>there's an ampersand in a last_quit field, it replaces it with
+</I>><i>"&amp-" as opposed to the correct "&amp;", which causes IE to choke
+</I>>:<i>). The context is as follows:
+</I>><i>
+</I>><i><nickinfo>
+</I>><i><nick>[nick]</nick>
+</I>><i>...
+</I>><i><last_quit>Quit: Peace &amp- Protection 4.06</last_quit>
+</I>><i>...
+</I>><i><nickinfo>
+</I>
+ Okay, that was a stupid one... an off-by-one error in a memcpy() size
+argument. Fixed, thanks; the patch is as follows:
+
+---------------------------------------------------------------------------
+--- modules/misc/xml-export.c 19 Dec 2001 16:35:13 -0000 2.2
++++ modules/misc/xml-export.c 25 Dec 2001 18:12:42 -0000 2.3
+@@ -94,7 +94,7 @@
+ d += 4;
+ break;
+ case '&':
+- memcpy(d, "&amp;", 4);
++ memcpy(d, "&amp;", 5);
+ d += 5;
+ break;
+ default:
+---------------------------------------------------------------------------
+
+><i>Also, it seems to pad every <supass> or <pass> field with lots of
+</I>><i>"&#0;" null chars:
+</I>><i><supass>mysupass&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&
+</I>><i>#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;</supass>
+</I>><i><pass>&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0
+</I>><i>;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;</pa
+</I>><i>ss>
+</I>
+ This is because the export-xml module can't know that the encryption
+module (if one is in use) uses a null character as a string terminator.
+In point of fact, the MD5 encryption module stores the passwords as 16 raw
+bytes rather than 32 hex characters, so null characters can very possibly
+appear in the middle of a password. Thus, passwords are stored as raw
+buffers of data (properly XML-encoded).
+
+><i>Also, on my #chat channel on the v4 installation, Voice is set to
+</I>><i>level 0, so everyone is voiced when they join. However, when my AOPs
+</I>><i>join #chat on the v5 net, they get set +hq, and normal users don't
+</I>><i>get anything, which is rather odd (possibly to do with me not running
+</I>><i>the xOP module or something...). I'm continuing to investigate this
+</I>><i>one.
+</I>
+ You should probably look into what check_access_cumode()
+(modules/chanserv/access.c) is doing; that part of the code has been
+thoroughly redone and gotten almost no testing. I'm not sure what would
+cause the autovoice level to get set to 0.
+
+ --Andrew Church
+ <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
+ <A HREF="http://achurch.org/">http://achurch.org/</A>
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000071.html">[IRCServices Coding] More bugs... :)
+</A></li>
+ <LI>Next message: <A HREF="000069.html">[IRCServices Coding] Services 5.0 alpha 9 released
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#68">[ date ]</a>
+ <a href="thread.html#68">[ thread ]</a>
+ <a href="subject.html#68">[ subject ]</a>
+ <a href="author.html#68">[ author ]</a>
+ </LI>
+ </UL>
+
+</body></html>