summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2012-10-30 10:32:34 +0800
committerPeter Jones <pjones@redhat.com>2012-10-30 10:35:36 -0400
commit6fc35f2eaafab245d60827b8298f0023458dc468 (patch)
tree9efc3d2cb0eb348d00b1f7c8d7db39f674157ed3
parentfa448727ef6d023cfb8e7bcc9c75112b1673fcb6 (diff)
downloadefi-boot-shim-6fc35f2eaafab245d60827b8298f0023458dc468.tar.gz
efi-boot-shim-6fc35f2eaafab245d60827b8298f0023458dc468.zip
Initialize the size of vendor dbx as 0
The size of vendor dbx must be 0 if there is no vendor dbx provided or the functions of db check will crash.
-rw-r--r--dbx.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbx.S b/dbx.S
index d19123c4..a26fc387 100644
--- a/dbx.S
+++ b/dbx.S
@@ -28,5 +28,5 @@ vendor_dbx:
.type vendor_dbx_size, @object
.size vendor_dbx_size, 4
vendor_dbx_size:
- .long 1
+ .long 0
#endif