~ubuntu-branches/ubuntu/dapper/cyrus-sasl2/dapper-security

« back to all changes in this revision

Viewing changes to debian/patches/20_2373_sasl_upstream_cvs.diff

  • Committer: Bazaar Package Importer
  • Author(s): Henrique de Moraes Holschuh
  • Date: 2004-10-08 13:06:28 UTC
  • Revision ID: james.westby@ubuntu.com-20041008130628-r437e5dm8j2rk4we
Tags: 2.1.19-1.3
* NMU
* Fix minor issue with -1.2 in patch 15, to squash a compiler
  warning (just in case it becomes more than a warning in some arch):
  add missing "int" to extern declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---------------------
 
2
PatchSet 2373 
 
3
Date: 2004/08/06 19:29:44
 
4
Author: shadow
 
5
Branch: HEAD
 
6
Tag: (none) 
 
7
Log:
 
8
initialize authid to null so stack garbage is not pushed into _sasl_canon_user
 
9
 
 
10
Members: 
 
11
        plugins/cram.c:1.83->1.84 
 
12
 
 
13
Index: cyrus-sasl-2.1.19/plugins/cram.c
 
14
===================================================================
 
15
RCS file: /cvs/src/sasl/plugins/cram.c,v
 
16
retrieving revision 1.83
 
17
retrieving revision 1.84
 
18
diff -u -r1.83 -r1.84
 
19
--- cyrus-sasl-2.1.19/plugins/cram.c    15 Dec 2003 20:04:22 -0000      1.83
 
20
+++ cyrus-sasl-2.1.19/plugins/cram.c    6 Aug 2004 20:29:44 -0000       1.84
 
21
@@ -1,7 +1,7 @@
 
22
 /* CRAM-MD5 SASL plugin
 
23
  * Rob Siemborski
 
24
  * Tim Martin 
 
25
- * $Id: cram.c,v 1.83 2003/12/15 20:04:22 rjs3 Exp $
 
26
+ * $Id: cram.c,v 1.84 2004/08/06 20:29:44 shadow Exp $
 
27
  */
 
28
 /* 
 
29
  * Copyright (c) 1998-2003 Carnegie Mellon University.  All rights reserved.
 
30
@@ -65,7 +65,7 @@
 
31
 
 
32
 /*****************************  Common Section  *****************************/
 
33
 
 
34
-static const char plugin_id[] = "$Id: cram.c,v 1.83 2003/12/15 20:04:22 rjs3 Exp $";
 
35
+static const char plugin_id[] = "$Id: cram.c,v 1.84 2004/08/06 20:29:44 shadow Exp $";
 
36
 
 
37
 /* convert a string of 8bit chars to it's representation in hex
 
38
  * using lowercase letters
 
39
@@ -507,7 +507,7 @@
 
40
                                    sasl_out_params_t *oparams)
 
41
 {
 
42
     client_context_t *text = (client_context_t *) conn_context;
 
43
-    const char *authid;
 
44
+    const char *authid = NULL;
 
45
     sasl_secret_t *password = NULL;
 
46
     unsigned int free_password = 0; /* set if we need to free password */
 
47
     int auth_result = SASL_OK;