]> git.pld-linux.org Git - packages/cyrus-sasl.git/blobdiff - 0033-fix_segfault_in_GSSAPI.patch
- updated to 2.1.26 (note: new soname)
[packages/cyrus-sasl.git] / 0033-fix_segfault_in_GSSAPI.patch
index 825eaa0b88bc320eb41fe4e090c4f10c45be52bb..4c191e94c06830f049eb0063e67baf9c1df32da2 100644 (file)
@@ -1,18 +1,20 @@
---- a/plugins/gssapi.c
-+++ b/plugins/gssapi.c
-@@ -370,7 +370,7 @@ sasl_gss_encode(void *context, const str
+--- cyrus-sasl-2.1.26/plugins/gssapi.c.orig    2012-11-23 19:03:06.002027748 +0100
++++ cyrus-sasl-2.1.26/plugins/gssapi.c 2012-11-23 19:06:07.818690625 +0100
+@@ -379,7 +379,7 @@
      }
      
      if (output_token->value && output) {
--      unsigned char * p = (unsigned char *) text->encode_buf;
+-      unsigned char * p;
 +      int len;
        
        ret = _plug_buf_alloc(text->utils,
                              &(text->encode_buf),
-@@ -384,11 +384,8 @@ sasl_gss_encode(void *context, const str
+@@ -393,13 +393,8 @@
            return ret;
        }
-       
+-      p = (unsigned char *) text->encode_buf;
+-      
 -      p[0] = (output_token->length>>24) & 0xFF;
 -      p[1] = (output_token->length>>16) & 0xFF;
 -      p[2] = (output_token->length>>8) & 0xFF;
This page took 0.087072 seconds and 4 git commands to generate.