- (tim) [contrib/cygwin/ssh-host-config] sshd account creation fixes
patch from vinschen@redhat.com
- (bal) [realpath.c] Updated with OpenBSD tree.
+ - (bal) OpenBSD CVS Sync
+ - deraadt@cvs.openbsd.org 2002/07/04 04:15:33
+ [key.c monitor_wrap.c sftp-glob.c ssh-dss.c ssh-rsa.c]
+ patch memory leaks; grendel@zeitbombe.org
20020705
- (tim) [configure.ac] AIX 4.2.1 has authenticate() in libs.
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.46 2002/06/30 21:59:45 deraadt Exp $");
+RCSID("$OpenBSD: key.c,v 1.47 2002/07/04 04:15:33 deraadt Exp $");
#include <openssl/evp.h>
*lenp = len;
if (blobp != NULL)
*blobp = buf;
+ else
+ xfree(buf);
return len;
}
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor_wrap.c,v 1.14 2002/06/30 21:59:45 deraadt Exp $");
+RCSID("$OpenBSD: monitor_wrap.c,v 1.15 2002/07/04 04:15:33 deraadt Exp $");
#include <openssl/bn.h>
#include <openssl/dh.h>
*lenp = len;
if (blobp != NULL)
*blobp = buf;
+ else
+ xfree(blobp);
return len;
}
*/
#include "includes.h"
-RCSID("$OpenBSD: sftp-glob.c,v 1.11 2002/06/30 21:59:45 deraadt Exp $");
+RCSID("$OpenBSD: sftp-glob.c,v 1.12 2002/07/04 04:15:33 deraadt Exp $");
#include "buffer.h"
#include "bufaux.h"
r = xmalloc(sizeof(*r));
- if (do_readdir(cur.conn, (char *)path, &r->dir))
+ if (do_readdir(cur.conn, (char *)path, &r->dir)) {
+ xfree(r);
return(NULL);
+ }
r->offset = 0;
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-dss.c,v 1.15 2002/06/23 03:30:17 deraadt Exp $");
+RCSID("$OpenBSD: ssh-dss.c,v 1.16 2002/07/04 04:15:33 deraadt Exp $");
#include <openssl/bn.h>
#include <openssl/evp.h>
*lenp = SIGBLOB_LEN;
if (sigp != NULL)
*sigp = ret;
+ else
+ xfree(ret);
} else {
/* ietf-drafts */
buffer_init(&b);
*lenp = len;
if (sigp != NULL)
*sigp = ret;
+ else
+ xfree(ret);
}
return 0;
}
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-rsa.c,v 1.21 2002/06/23 03:30:17 deraadt Exp $");
+RCSID("$OpenBSD: ssh-rsa.c,v 1.22 2002/07/04 04:15:33 deraadt Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
*lenp = len;
if (sigp != NULL)
*sigp = ret;
+ else
+ xfree(ret);
return 0;
}