Hi there. I'm a stack-allocated array. I'm filled with garbage until
someone puts something useful in me, like zero bytes. (Read: Fix uninitialized array member access in pkg_add. Bump to 20040421.)
This commit is contained in:
parent
1d0fe2e424
commit
5b799f00cc
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: perform.c,v 1.98 2004/04/11 06:13:46 rh Exp $ */
|
||||
/* $NetBSD: perform.c,v 1.99 2004/04/21 20:10:10 tv Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#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.98 2004/04/11 06:13:46 rh Exp $");
|
||||
__RCSID("$NetBSD: perform.c,v 1.99 2004/04/21 20:10:10 tv Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -125,6 +125,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?
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: version.h,v 1.48 2004/04/11 06:13:46 rh Exp $ */
|
||||
/* $NetBSD: version.h,v 1.49 2004/04/21 20:10:11 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_ */
|
||||
|
|
Loading…
Reference in New Issue