SHA256
1
0
forked from pool/tboot
Dominique Leuenberger 9e4dcdaefa Accepting request 1196424 from security
- add tboot-fix-alloc-size-warning.patch: newest GCC spits out this error:
  ```
  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/request/show/1196424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=50
2024-08-28 19:32:25 +00:00
Description
No description provided
1.1 MiB
Languages
Diff 100%