Mercurial > illumos > illumos-gate
diff usr/src/uts/common/fs/hsfs/hsfs_vfsops.c @ 6894:5303cd53a81b
6715049 mount_hsfs from a non-existent slice corrupts kernel heap, system panics
Contributed by Juergen Keil <jk@tools.de>.
author | danmcd |
---|---|
date | Tue, 17 Jun 2008 12:01:42 -0700 |
parents | 18f1316f1bed |
children | 9f2cda0ed938 |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/hsfs/hsfs_vfsops.c Tue Jun 17 08:39:46 2008 -0700 +++ b/usr/src/uts/common/fs/hsfs/hsfs_vfsops.c Tue Jun 17 12:01:42 2008 -0700 @@ -596,8 +596,8 @@ size_t pathbufsz = strlen(path) + 1; int redo_rootvp; - struct hs_volume *svp; /* Supplemental VD for ISO-9660:1999 */ - struct hs_volume *jvp; /* Joliet VD */ + struct hs_volume *svp = NULL; /* Supplemental VD for ISO-9660:1999 */ + struct hs_volume *jvp = NULL; /* Joliet VD */ /* * The rules for which extension will be used are: