summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2012-10-30 10:35:36 -0400
committerPeter Jones <pjones@redhat.com>2012-10-30 10:35:36 -0400
commitba00aadb4534b0d0012c5b6154882504e6b591db (patch)
tree9efc3d2cb0eb348d00b1f7c8d7db39f674157ed3
parent4049bc496f68b1235d04728e6b5e2ef5409563a6 (diff)
downloadefi-boot-shim-ba00aadb4534b0d0012c5b6154882504e6b591db.tar.gz
efi-boot-shim-ba00aadb4534b0d0012c5b6154882504e6b591db.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