summaryrefslogtreecommitdiffstats
path: root/src/appl
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1996-11-20 23:00:07 +0000
committerSam Hartman <hartmans@mit.edu>1996-11-20 23:00:07 +0000
commit35f35d74f3d5515f9b21444af0b9791ada087e16 (patch)
tree2ee40a5fc7ab100439f3ebb4cb17bd1f6285fa3c /src/appl
parent2ac4a834a034a836554037cbc72ae06ecc1bcb75 (diff)
downloadkrb5-35f35d74f3d5515f9b21444af0b9791ada087e16.tar.gz
krb5-35f35d74f3d5515f9b21444af0b9791ada087e16.tar.xz
krb5-35f35d74f3d5515f9b21444af0b9791ada087e16.zip
Apply patch from shadow@andrew.cmu.edu to fix a bug I fixed
for krb5 if compiled with Kerberos support; we don't support that, but applying the patch was easier than removing the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9445 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/gssftp/ftp/ChangeLog7
-rw-r--r--src/appl/gssftp/ftp/secure.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog
index 9224e5dd87..3262141e90 100644
--- a/src/appl/gssftp/ftp/ChangeLog
+++ b/src/appl/gssftp/ftp/ChangeLog
@@ -3,10 +3,17 @@ Fri Sep 27 16:05:09 1996 Tom Yu <tlyu@mit.edu>
* cmds.c (setpeer): Apply jik's fix so "-n" actually works as
intended.
+
Tue Sep 10 14:07:15 1996 Tom Yu <tlyu@mit.edu>
* ftp.M: remove ".so man1/header.doc"
+Fri Aug 16 20:04:03 1996 Sam Hartman <hartmans@mit.edu>
+
+ * secure.c (nbyte;): Fix for Kerberos IV version of the memory
+ allocation bug I fixed for Kerberos V; you want nbyte +
+ FUDGE_FACTOR, not out_buff.length.
+
Tue Jul 30 19:45:45 1996 Samuel D Hartman (hartmans@vorlon)
* ftp.c (empt resety): Use fd_set as a typedef not a struct.
diff --git a/src/appl/gssftp/ftp/secure.c b/src/appl/gssftp/ftp/secure.c
index 183f10a3ab..550160b038 100644
--- a/src/appl/gssftp/ftp/secure.c
+++ b/src/appl/gssftp/ftp/secure.c
@@ -234,7 +234,7 @@ unsigned int nbyte;
if (outbuf?
(outbuf = realloc(outbuf, (unsigned) (nbyte + FUDGE_FACTOR))):
(outbuf = malloc((unsigned) (nbyte + FUDGE_FACTOR)))) {
- bufsize = out_buf.length;
+ bufsize =nbyte + FUDGE_FACTOR;
} else {
bufsize = 0;
secure_error("%s (in malloc of PROT buffer)",