Package: beepcore-c0
Version: 0.2+cvs20030603-1
Tags: patch

If a <start> message carries piggyback data that's expressed as a CDATA
element, beepcore parses it incorrectly and chops the final ">" off.

Patch attached.
-- 
Sam "Eddie" Couter  |  mailto:[EMAIL PROTECTED]
Debian Developer    |  mailto:[EMAIL PROTECTED]
                    |  jabber:[EMAIL PROTECTED]
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
--- beepcore-c-0.2+cvs20030603.orig/base/generic/channel_0.c
+++ beepcore-c-0.2+cvs20030603/base/generic/channel_0.c
@@ -823,6 +823,8 @@
       case '>':
        if (2 <= stridx) {
          stateidx--;  /* pop back to PCDATA */
+         if (current_counter)
+           (*current_counter)++;  /* This gets decremented again later */
        } else {
          stridx = 0;
        }

Attachment: signature.asc
Description: Digital signature

Reply via email to