Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27690 Details for
Bug 39395
Jabberd2 Workplace
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for the invalid xml stream bug
jabberd2-invalid-xml-fix.patch (text/plain), 726 bytes, created by
Sascha Schwabbauer (RETIRED)
on 2004-03-20 05:47:24 UTC
(
hide
)
Description:
Fix for the invalid xml stream bug
Filename:
MIME Type:
Creator:
Sascha Schwabbauer (RETIRED)
Created:
2004-03-20 05:47:24 UTC
Size:
726 bytes
patch
obsolete
>--- error.c.old 2004-03-20 14:39:57.985636816 +0100 >+++ error.c 2004-03-20 14:40:42.025941672 +0100 >@@ -71,7 +71,13 @@ > len += sprintf(&(buf->data[len]), "<stream:error xmlns:stream='" uri_STREAMS "'><%s xmlns='" uri_STREAM_ERR "'/><text xmlns='" uri_STREAM_ERR "'>%s</text></stream:error>", _stream_errors[err], text); > > if(s->state < state_STREAM) >- len += sprintf(&(buf->data[len]), "</stream:stream>"); >+ { >+ char *streamend= "</stream:stream>"; >+ printf ("About to write %d bytes\n", strlen (streamend)); >+ // len += sprintf(&(buf->data[len]), "</stream:stream>"); >+ memcpy (&(buf->data[len]), streamend, strlen (streamend)); >+ len += strlen (streamend); >+ } > > assert(len == buf->len); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39395
:
24500
|
25533
|
25809
|
27373
|
27496
| 27690 |
30750
|
34523
|
34777
|
37929
|
39538
|
39541
|
49718