ALT Linux repositórios
S: | 1.21.2-alt1 |
5.0: | 1.6.3-alt6.M50.2 |
4.1: | 1.6.3-alt3.M41.4 |
4.0: | 1.5.1-alt4.M40.5 |
+updates: | 1.5.1-alt4.M40.5 |
3.0: | 1.4.1-alt1 |
Group :: Sistema/Bibliotecas
RPM: krb5
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: krb5-1.4.1-up-kdc.patch
Download
Download
--- krb5-1.4.1/src/kdc/do_as_req.c.kdc 2002-11-04 05:20:51 +0300
+++ krb5-1.4.1/src/kdc/do_as_req.c 2005-06-04 20:33:58 +0400
@@ -524,6 +524,10 @@
retval = krb5_mk_error(kdc_context, &errpkt, scratch);
free(errpkt.text.data);
- *response = scratch;
+ if (retval)
+ free(scratch);
+ else
+ *response = scratch;
+
return retval;
}
--- krb5-1.4.1/src/kdc/do_tgs_req.c.kdc 2003-05-23 00:28:21 +0400
+++ krb5-1.4.1/src/kdc/do_tgs_req.c 2005-06-04 20:33:58 +0400
@@ -722,7 +722,11 @@
retval = krb5_mk_error(kdc_context, &errpkt, scratch);
free(errpkt.text.data);
- *response = scratch;
+ if (retval)
+ free(scratch);
+ else
+ *response = scratch;
+
return retval;
}
--- krb5-1.4.1/src/kdc/network.c.kdc 2004-09-24 06:21:47 +0400
+++ krb5-1.4.1/src/kdc/network.c 2005-06-04 20:33:58 +0400
@@ -722,6 +722,7 @@
char pktbuf[MAX_DGRAM_SIZE];
int port_fd = conn->fd;
+ response = NULL;
saddr_len = sizeof(saddr);
cc = recvfrom(port_fd, pktbuf, sizeof(pktbuf), 0,
(struct sockaddr *)&saddr, &saddr_len);
--- krb5-1.4.1/src/lib/krb5/krb/unparse.c.kdc 2005-01-18 20:57:32 +0300
+++ krb5-1.4.1/src/lib/krb5/krb/unparse.c 2005-06-04 20:33:58 +0400
@@ -91,6 +91,8 @@
totalsize++;
totalsize++; /* This is for the separator */
}
+ if (nelem == 0)
+ totalsize++;
/*
* Allocate space for the ascii string; if space has been