diff options
author | Hans Rosenfeld <hans.rosenfeld@nexenta.com> | 2012-08-02 04:58:41 -0500 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@nexenta.com> | 2012-08-02 04:58:41 -0500 |
commit | 14d44f2248cc2a54490db7f7caa4da5968f90837 (patch) | |
tree | f1547f24b3208f52a0bd40f536075bbf91ca14ff /usr/src/cmd/boot/installboot/installboot.h | |
parent | e828a46d29ad418487f50d56b5c19e2a1f9033a7 (diff) | |
download | illumos-joyent-14d44f2248cc2a54490db7f7caa4da5968f90837.tar.gz |
3027 installgrub can segfault when encountering bogus data on disk
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/boot/installboot/installboot.h')
-rw-r--r-- | usr/src/cmd/boot/installboot/installboot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/boot/installboot/installboot.h b/usr/src/cmd/boot/installboot/installboot.h index 7b558b3846..2fa7ad2561 100644 --- a/usr/src/cmd/boot/installboot/installboot.h +++ b/usr/src/cmd/boot/installboot/installboot.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 _INSTALLBOOT_H @@ -52,6 +53,7 @@ typedef struct _ib_bootblock { uint32_t mboot_off; uint32_t buf_size; uint32_t file_size; + uint32_t extra_size; } ib_bootblock_t; typedef struct _ib_data { |