|
Line
Link Here
|
|
-- src/kdc/do_as_req.c |
|
|
|
Lines 524-529
Link Here
|
| 524 |
|
524 |
|
| 525 |
retval = krb5_mk_error(kdc_context, &errpkt, scratch); |
525 |
retval = krb5_mk_error(kdc_context, &errpkt, scratch); |
| 526 |
free(errpkt.text.data); |
526 |
free(errpkt.text.data); |
| 527 |
*response = scratch; |
527 |
if (retval) |
|
|
528 |
free(scratch); |
| 529 |
else |
| 530 |
*response = scratch; |
| 531 |
|
| 528 |
return retval; |
532 |
return retval; |
| 529 |
} |
533 |
} |
| 530 |
-- src/kdc/do_tgs_req.c |
|
|
|
Lines 722-728
Link Here
|
| 722 |
|
722 |
|
| 723 |
retval = krb5_mk_error(kdc_context, &errpkt, scratch); |
723 |
retval = krb5_mk_error(kdc_context, &errpkt, scratch); |
| 724 |
free(errpkt.text.data); |
724 |
free(errpkt.text.data); |
| 725 |
*response = scratch; |
725 |
if (retval) |
|
|
726 |
free(scratch); |
| 727 |
else |
| 728 |
*response = scratch; |
| 729 |
|
| 726 |
return retval; |
730 |
return retval; |
| 727 |
} |
731 |
} |
| 728 |
|
732 |
|
| 729 |
-- src/kdc/network.c |
|
|
|
Lines 722-727
Link Here
|
| 722 |
char pktbuf[MAX_DGRAM_SIZE]; |
722 |
char pktbuf[MAX_DGRAM_SIZE]; |
| 723 |
int port_fd = conn->fd; |
723 |
int port_fd = conn->fd; |
| 724 |
|
724 |
|
|
|
725 |
response = NULL; |
| 725 |
saddr_len = sizeof(saddr); |
726 |
saddr_len = sizeof(saddr); |
| 726 |
cc = recvfrom(port_fd, pktbuf, sizeof(pktbuf), 0, |
727 |
cc = recvfrom(port_fd, pktbuf, sizeof(pktbuf), 0, |
| 727 |
(struct sockaddr *)&saddr, &saddr_len); |
728 |
(struct sockaddr *)&saddr, &saddr_len); |
| 728 |
-- src/lib/krb5/krb/unparse.c |
|
|
|
Lines 91-96
Link Here
|
| 91 |
totalsize++; |
91 |
totalsize++; |
| 92 |
totalsize++; /* This is for the separator */ |
92 |
totalsize++; /* This is for the separator */ |
| 93 |
} |
93 |
} |
|
|
94 |
if (nelem == 0) |
| 95 |
totalsize++; |
| 94 |
|
96 |
|
| 95 |
/* |
97 |
/* |
| 96 |
* Allocate space for the ascii string; if space has been |
98 |
* Allocate space for the ascii string; if space has been |