summaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-src_include_biosem.h
blob: ff8996d2232f2486419fcf6bf324b607614effad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/include/biosem.h.orig	2016-11-19 03:09:49 UTC
+++ src/include/biosem.h
@@ -26,7 +26,7 @@ typedef struct {
 	UINT32 eventType;
 	BYTE   digest[20];
 	UINT32 eventDataSize;
-	BYTE   event[0];/* (eventSize) bytes of event data follows */
+	BYTE   event[1];/* (eventSize) bytes of event data follows */
 } TCG_PCClientPCREventStruc;
 
 #define EVLOG_SOURCE_BIOS	1