Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commit23fe85a

Browse files
committed
Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull EFI fix from Thomas Gleixner: "A single fix to prevent partially initialized pointers in mixed mode (64bit kernel on 32bit UEFI)"* 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: efi/libstub/tpm: Initialize pointer variables to zero for mixed mode
2 parents3cd1d32 +79832f0 commit23fe85a

File tree

1 file changed

+2
-2
lines changed
  • drivers/firmware/efi/libstub

1 file changed

+2
-2
lines changed

‎drivers/firmware/efi/libstub/tpm.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ void efi_retrieve_tpm2_eventlog_1_2(efi_system_table_t *sys_table_arg)
6868
efi_guid_tlinux_eventlog_guid=LINUX_EFI_TPM_EVENT_LOG_GUID;
6969
efi_status_tstatus;
7070
efi_physical_addr_tlog_location,log_last_entry;
71-
structlinux_efi_tpm_eventlog*log_tbl;
71+
structlinux_efi_tpm_eventlog*log_tbl=NULL;
7272
unsigned longfirst_entry_addr,last_entry_addr;
7373
size_tlog_size,last_entry_size;
7474
efi_bool_ttruncated;
75-
void*tcg2_protocol;
75+
void*tcg2_protocol=NULL;
7676

7777
status=efi_call_early(locate_protocol,&tcg2_guid,NULL,
7878
&tcg2_protocol);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp