diff options
author | tv <tv> | 2004-04-21 20:11:55 +0000 |
---|---|---|
committer | tv <tv> | 2004-04-21 20:11:55 +0000 |
commit | 3c29f50a3e2f5a69cf76926ca0d74d7e42b81427 (patch) | |
tree | cf1492505ec45c71022d8cd81c6dadd10b203ccb /pkgtools/pkg_install | |
parent | 66a9bc4c9a14e3986f0337dd2b492ffe4630adcd (diff) | |
download | pkgsrc-3c29f50a3e2f5a69cf76926ca0d74d7e42b81427.tar.gz |
Sync to 20040421: fix an uninitialized array member access in pkg_add.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/files/add/perform.c | 5 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/lib/version.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index cbbee2c2474..68d260173dc 100644 --- a/pkgtools/pkg_install/files/add/perform.c +++ b/pkgtools/pkg_install/files/add/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.20 2004/04/11 06:56:11 rh Exp $ */ +/* $NetBSD: perform.c,v 1.21 2004/04/21 20:11:55 tv Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -11,7 +11,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.20 2004/04/11 06:56:11 rh Exp $"); +__RCSID("$NetBSD: perform.c,v 1.21 2004/04/21 20:11:55 tv Exp $"); #endif #endif @@ -143,6 +143,7 @@ pkg_do(const char *pkg) zapLogDir = 0; LogDir[0] = '\0'; strlcpy(playpen, FirstPen, sizeof(playpen)); + memset(buildinfo, '\0', sizeof(buildinfo)); inPlace = 0; /* Are we coming in for a second pass, everything already extracted? diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h index cddf8faa9be..47f79c4ba09 100644 --- a/pkgtools/pkg_install/files/lib/version.h +++ b/pkgtools/pkg_install/files/lib/version.h @@ -1,4 +1,4 @@ -/* $NetBSD: version.h,v 1.26 2004/04/11 06:56:11 rh Exp $ */ +/* $NetBSD: version.h,v 1.27 2004/04/21 20:11:55 tv Exp $ */ /* * Copyright (c) 2001 Thomas Klausner. All rights reserved. @@ -33,6 +33,6 @@ #ifndef _INST_LIB_VERSION_H_ #define _INST_LIB_VERSION_H_ -#define PKGTOOLS_VERSION "20040411" +#define PKGTOOLS_VERSION "20040421" #endif /* _INST_LIB_VERSION_H_ */ |