SHA256
1
0
forked from pool/tboot

- updated to 1.8.2/20140728

Security Fix: TBOOT Argument Measurement Vulnerability for GRUB2 + ELF Kernels
  fix werror in 32 bit build environment

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=39
This commit is contained in:
Marcus Meissner 2014-07-28 12:14:44 +00:00 committed by Git OBS Bridge
parent d4f3f34f72
commit 8c11ca8b3b
5 changed files with 12 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8007c868c33ac4764d6477febcff5f829c6598b3cf8c8cf97aa3b06c7802a3aa
size 547222

3
tboot-1.8.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:358c7b22412087927d6d04b130c1268e5d00252b4caef0fe3cdaa5194f652cd1
size 566048

View File

@ -1,25 +0,0 @@
Index: tboot-1.7.2/tb_polgen/param.c
===================================================================
--- tboot-1.7.2.orig/tb_polgen/param.c
+++ tboot-1.7.2/tb_polgen/param.c
@@ -184,7 +184,7 @@ void print_params(param_data_t *params)
info_msg("\t pcr = %d\n", params->pcr);
info_msg("\t hash_type = %d\n", params->hash_type);
info_msg("\t pos = %d\n", params->pos);
- info_msg("\t cmdline length = %lu\n", strlen(params->cmdline));
+ info_msg("\t cmdline length = %u\n", (unsigned int)strlen(params->cmdline));
info_msg("\t cmdline = %s\n", params->cmdline);
info_msg("\t image_file = %s\n", params->image_file);
info_msg("\t elt_file = %s\n", params->elt_file);
@@ -409,9 +409,9 @@ bool parse_input_params(int argc, char *
return false;
}
if (strlen(optarg) > sizeof(params->cmdline) - 1) {
- error_msg("Command line length of %lu exceeds %d "
+ error_msg("Command line length of %u exceeds %d "
"character maximum\n",
- strlen(optarg), TBOOT_KERNEL_CMDLINE_SIZE-1);
+ (int)strlen(optarg), TBOOT_KERNEL_CMDLINE_SIZE-1);
return false;
}

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 28 12:14:12 UTC 2014 - meissner@suse.com
- updated to 1.8.2/20140728
Security Fix: TBOOT Argument Measurement Vulnerability for GRUB2 + ELF Kernels
fix werror in 32 bit build environment
-------------------------------------------------------------------
Mon May 19 11:11:10 UTC 2014 - meissner@suse.com

View File

@ -17,15 +17,14 @@
Name: tboot
%define ver 1.8.1
Version: 20130705_1.8.0
%define ver 1.8.2
Version: 20140728_1.8.2
Release: 0
Summary: Performs a verified launch using Intel(R) TXT
License: BSD-3-Clause
Group: Productivity/Security
Url: http://sourceforge.net/projects/tboot/
Source0: http://downloads.sourceforge.net/project/tboot/tboot/tboot-%{ver}.tar.gz
Patch0: tboot-fix.patch
Patch1: tboot-grub2-suse.patch
Patch3: tboot-grub2-fix-menu-in-xen-host-server.patch
Patch4: tboot-grub2-fix-xen-submenu-name.patch