summaryrefslogtreecommitdiff
path: root/build/pack.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-01-05 17:21:18 +0000
committerewt <devnull@localhost>1998-01-05 17:21:18 +0000
commitba236840af2fa9ebdb1899f2b2d541fdb6b4689c (patch)
tree2b5deaa2a6c9b03af57db0c8925a2ac8ec2129ad /build/pack.c
parentace46218c0679eb029d155069dfc033f936b7bfd (diff)
downloadrpm-ba236840af2fa9ebdb1899f2b2d541fdb6b4689c.tar.gz
rpm-ba236840af2fa9ebdb1899f2b2d541fdb6b4689c.tar.bz2
rpm-ba236840af2fa9ebdb1899f2b2d541fdb6b4689c.zip
memset() reserved portion of lead
CVS patchset: 1911 CVS date: 1998/01/05 17:21:18
Diffstat (limited to 'build/pack.c')
-rw-r--r--build/pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/pack.c b/build/pack.c
index 63a2a3864..0320246ca 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -179,6 +179,7 @@ static int writeMagic(int fd, char *name,
lead.osnum = os;
lead.signature_type = RPMSIG_HEADERSIG; /* New-style signature */
strncpy(lead.name, name, sizeof(lead.name));
+ memset(lead.reserved, 0, sizeof(lead.reserved));
writeLead(fd, &lead);