forked from pool/tboot
``` pconf_legacy.c: In function ‘create’: pconf_legacy.c:327:16: error: allocation of insufficient size ‘20’ for type ‘tb_hash_t’ with size ‘64’ [-Werror=alloc-size] 327 | digest = malloc(SHA1_DIGEST_SIZE); | ^ ``` There's a union data type behind this. It's not an actual error. To get rid of the warning, the patch allocates the full union size, thereby wasting a bit of memory. OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=120
20 lines
826 B
Diff
20 lines
826 B
Diff
From: Michael Chang <mchang@suse.com>
|
|
Subject: fix xen submenu name to show tboot version
|
|
|
|
References: bnc#865815
|
|
Patch-Mainline: no
|
|
|
|
Index: tboot-1.11.4/tboot/20_linux_xen_tboot
|
|
===================================================================
|
|
--- tboot-1.11.4.orig/tboot/20_linux_xen_tboot
|
|
+++ tboot-1.11.4/tboot/20_linux_xen_tboot
|
|
@@ -246,7 +246,7 @@ while [ "x${xen_list}" != "x" ] ; do
|
|
rel_tboot_dirname=`make_system_path_relative_to_its_root $tboot_dirname`
|
|
tboot_version="1.11.4"
|
|
list="${linux_list}"
|
|
- echo "submenu \"Xen ${xen_version}\" \"Tboot ${tboot_version}\"{"
|
|
+ echo "submenu \"Xen ${xen_version} with Tboot ${tboot_version}\"{"
|
|
while [ "x$list" != "x" ] ; do
|
|
linux=`version_find_latest $list`
|
|
echo "Found linux image: $linux" >&2
|