comparison 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
comparison
equal deleted inserted replaced
6893:941bec378e20 6894:5303cd53a81b
594 int force_vers2_off; 594 int force_vers2_off;
595 int force_joliet_off; 595 int force_joliet_off;
596 size_t pathbufsz = strlen(path) + 1; 596 size_t pathbufsz = strlen(path) + 1;
597 int redo_rootvp; 597 int redo_rootvp;
598 598
599 struct hs_volume *svp; /* Supplemental VD for ISO-9660:1999 */ 599 struct hs_volume *svp = NULL; /* Supplemental VD for ISO-9660:1999 */
600 struct hs_volume *jvp; /* Joliet VD */ 600 struct hs_volume *jvp = NULL; /* Joliet VD */
601 601
602 /* 602 /*
603 * The rules for which extension will be used are: 603 * The rules for which extension will be used are:
604 * 1. No specific mount options given: 604 * 1. No specific mount options given:
605 * - use rrip if available 605 * - use rrip if available