Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126399 - jabberd-2.0.11 bump request
Summary: jabberd-2.0.11 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
: 128025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-16 02:58 UTC by Nguyen Thai Ngoc Duy (RETIRED)
Modified: 2006-05-04 02:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-03-16 02:58:51 UTC
noticeable changes between 2.0.10 and 2.0.11 are small that 2.0.10 ebuild should work fine with 2.0.11:

diff -ur --exclude configure --exclude aclocal.m4 --exclude 'config.*' --exclude
 'lt*.sh' jabberd-2.0s10/scod/scod.c jabberd-2.0s11/scod/scod.c
--- jabberd-2.0s10/scod/scod.c  2003-10-28 11:53:43.000000000 +0700
+++ jabberd-2.0s11/scod/scod.c  2005-10-30 03:23:57.000000000 +0700
@@ -279,7 +279,10 @@
 int scod_server_step(scod_t sd, const char *resp, int resplen, char **chal, int
 *challen) {
     int ret;

-    assert((int) sd);
+    /* Check that auth has actually begun */
+    if(sd == NULL)
+        return sd_err_UNKNOWN_MECH;
+
     assert((int) resp);
     assert((int) chal);
     assert((int) challen);
diff -ur --exclude configure --exclude aclocal.m4 --exclude 'config.*' --exclude
 'lt*.sh' jabberd-2.0s10/sx/sasl.c jabberd-2.0s11/sx/sasl.c
--- jabberd-2.0s10/sx/sasl.c    2005-07-26 14:28:15.000000000 +0700
+++ jabberd-2.0s11/sx/sasl.c    2005-10-30 03:23:57.000000000 +0700
@@ -211,7 +211,7 @@
 static void _sx_sasl_client_process(sx_t s, sx_plugin_t p, scod_t sd, char *mec
h, char *in, int inlen) {
     _sx_sasl_t ctx = (_sx_sasl_t) p->private;
     char realm[256];
-    char *buf, *out;
+    char *buf = NULL, *out = NULL; 
     int buflen, outlen, ret;

     if(mech != NULL) {
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 11:53:08 UTC
*** Bug 128025 has been marked as a duplicate of this bug. ***
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2006-03-30 06:03:21 UTC
Will be committed shortly...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 02:51:13 UTC
In portage wrt Bug 126978, closing.