Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/ufs/ext2fs pullup 1.24->1.25 (bouyer): zero ump->um...
details: https://anonhg.NetBSD.org/src/rev/b273e6c9fbfb
branches: netbsd-1-4
changeset: 468868:b273e6c9fbfb
user: perry <perry%NetBSD.org@localhost>
date: Mon Jun 21 23:03:07 1999 +0000
description:
pullup 1.24->1.25 (bouyer): zero ump->um_e2fs after malloc
diffstat:
sys/ufs/ext2fs/ext2fs_vfsops.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r bd967427eca1 -r b273e6c9fbfb sys/ufs/ext2fs/ext2fs_vfsops.c
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c Mon Jun 21 23:00:14 1999 +0000
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c Mon Jun 21 23:03:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_vfsops.c,v 1.24 1999/02/26 23:44:49 wrstuden Exp $ */
+/* $NetBSD: ext2fs_vfsops.c,v 1.24.2.1 1999/06/21 23:03:07 perry Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer.
@@ -545,6 +545,7 @@
ump = malloc(sizeof *ump, M_UFSMNT, M_WAITOK);
memset((caddr_t)ump, 0, sizeof *ump);
ump->um_e2fs = malloc(sizeof(struct m_ext2fs), M_UFSMNT, M_WAITOK);
+ memset((caddr_t)ump->um_e2fs, 0, sizeof(struct m_ext2fs));
e2fs_sbload((struct ext2fs*)bp->b_data, &ump->um_e2fs->e2fs);
brelse(bp);
bp = NULL;
Home |
Main Index |
Thread Index |
Old Index