Files
tboot/tboot-fix-alloc-size-warning.patch
Matthias Gerstner c9f47e683e - update to version 1.11.9 :
- Merge TXT Protected Range support branch.
  - Remove unncessary OPENSSL_free from lcputils.c and add a functionality to
    move ACM modules from the address range below TBOOT to above TBOOT, to
    allow the usage of ACMs bigger than 256KB.
  - Restore call to configure_vtd.
- refresh and adjust tboot-bsc#1207833-copy-mbi.patch
- refresh tboot-distributor.patch
- refresh tboot-fix-alloc-size-warning.patch
- refresh tboot-grub2-fix-menu-in-xen-host-server.patch
- refresh tboot-grub2-fix-xen-submenu-name.patch
- refresh tboot-grub2-refuse-secure-boot.patch

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=122
2025-02-19 11:03:00 +00:00

14 lines
582 B
Diff

Index: tboot-1.11.9/lcptools-v2/pconf_legacy.c
===================================================================
--- tboot-1.11.9.orig/lcptools-v2/pconf_legacy.c
+++ tboot-1.11.9/lcptools-v2/pconf_legacy.c
@@ -324,7 +324,7 @@ static lcp_policy_element_t *create(void
ERROR("Error: no pcrs were selected.\n");
return NULL;
}
- digest = malloc(SHA1_DIGEST_SIZE);
+ digest = malloc(sizeof(*digest));
if (digest == NULL) {
ERROR("Error: failed to allocate memory for digest buffer.\n");
return NULL;