diff options
author | tv <tv@pkgsrc.org> | 2004-04-21 20:11:55 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-04-21 20:11:55 +0000 |
commit | 3fa7f59e657b3385d0cc3d0237c162c65ff9945a (patch) | |
tree | cf1492505ec45c71022d8cd81c6dadd10b203ccb /pkgtools/pkg_install/files | |
parent | fb2161906d4177404a6bbb743a0a3a36852b6ba8 (diff) | |
download | pkgsrc-3fa7f59e657b3385d0cc3d0237c162c65ff9945a.tar.gz |
Sync to 20040421: fix an uninitialized array member access in pkg_add.
Diffstat (limited to 'pkgtools/pkg_install/files')
-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_ */ |