~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to debian/patch.krb5_recvauth_double_free

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2005-07-12 15:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20050712154514-ckp4s2gisnbbabn9
Tags: 1.3.6-4
* Fix a mistake in variable names that caused the package to be built
  without optimization.
* Allow whitespace before comments in krb5.conf.  Thanks, Jeremie
  Koenig.  (Closes: #314609)
* GCC 4.0 compile fixes, thanks Daniel Schepler.  (Closes: #315618)
* Avoid "say yes" in debconf templates.  (Closes: #306883)
* Update Czech translation, thanks Miroslav Kure.
* Update French translation, thanks Christian Perrier.  (Closes: #307748)
* Update Portuguese (Brazil) translation, thanks André Luís Lopes.
* New Vietnamese translation, thanks Clytie Siddall.  (Closes: #312172)
* Update standards version to 3.6.2 (no changes required).
* DAK can now handle not repeating maintainers in uploaders.
*  Fix double free in krb5_recvauth; critical because it is in the code
  path for kpropd and may allow arbitrary code
  execution. (can-2005-1689) 
* For the record, most of the changes in this version were made by Russ,
  but I'm doing the upload because of the security fix.
* krb5_unparse_name overflows allocated storage by one byte on 0 element
  principal name (CAN-2005-1175, VU#885830) 
* Do not free unallocated storage in the KDC's TCP  request handling
  path (CAN-2005-1174, VU#259798) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: lib/krb5/krb/recvauth.c
 
2
===================================================================
 
3
RCS file: /cvs/krbdev/krb5/src/lib/krb5/krb/recvauth.c,v
 
4
retrieving revision 5.38
 
5
diff -c -r5.38 recvauth.c
 
6
*** lib/krb5/krb/recvauth.c     3 Sep 2002 01:13:47 -0000       5.38
 
7
--- lib/krb5/krb/recvauth.c     23 May 2005 23:19:15 -0000
 
8
***************
 
9
*** 76,82 ****
 
10
            if ((retval = krb5_read_message(context, fd, &inbuf)))
 
11
                return(retval);
 
12
            if (strcmp(inbuf.data, sendauth_version)) {
 
13
-               krb5_xfree(inbuf.data);
 
14
                problem = KRB5_SENDAUTH_BADAUTHVERS;
 
15
            }
 
16
            krb5_xfree(inbuf.data);
 
17
--- 76,81 ----
 
18
***************
 
19
*** 90,96 ****
 
20
        if ((retval = krb5_read_message(context, fd, &inbuf)))
 
21
                return(retval);
 
22
        if (appl_version && strcmp(inbuf.data, appl_version)) {
 
23
-               krb5_xfree(inbuf.data);
 
24
                if (!problem)
 
25
                        problem = KRB5_SENDAUTH_BADAPPLVERS;
 
26
        }
 
27
--- 89,94 ----