From 14d44f2248cc2a54490db7f7caa4da5968f90837 Mon Sep 17 00:00:00 2001 From: Hans Rosenfeld Date: Thu, 2 Aug 2012 04:58:41 -0500 Subject: 3027 installgrub can segfault when encountering bogus data on disk Reviewed by: Garrett D'Amore Reviewed by: Albert Lee Approved by: Richard Lowe --- usr/src/cmd/boot/installgrub/installgrub.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/src/cmd/boot/installgrub/installgrub.h') diff --git a/usr/src/cmd/boot/installgrub/installgrub.h b/usr/src/cmd/boot/installgrub/installgrub.h index e23d1c35d7..af6e60b973 100644 --- a/usr/src/cmd/boot/installgrub/installgrub.h +++ b/usr/src/cmd/boot/installgrub/installgrub.h @@ -20,6 +20,7 @@ */ /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2012 Nexenta Systems, Inc. All rights reserved. */ #ifndef _INSTALLGRUB_H @@ -53,6 +54,7 @@ typedef struct _stage2_data { multiboot_header_t *mboot; uint32_t mboot_off; uint32_t file_size; + uint32_t extra_size; uint32_t buf_size; uint32_t first_sector; uint32_t pcfs_first_sectors[2]; -- cgit v1.2.3