diff options
| author | Jonathan Yong <jonathan.yong@intel.com> | 2021-04-16 09:59:03 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-07-20 10:08:54 -0400 |
| commit | 7501b6bb449f6e4d13e700a65650f9308f54c8c1 (patch) | |
| tree | 66eb3e9fc7e8e856fad6c787984b0e571458e58f /lib/variables.c | |
| parent | 34e3ef205c5d65139eacba8891fa773c03174679 (diff) | |
| download | efi-boot-shim-7501b6bb449f6e4d13e700a65650f9308f54c8c1.tar.gz efi-boot-shim-7501b6bb449f6e4d13e700a65650f9308f54c8c1.zip | |
mok: fix potential buffer overrun in import_mok_state
Fix the case where data_size is 0, so config_template is
not implicitly copied like the size calculation above.
upstream-status: https://github.com/rhboot/shim/issues/249
Signed-off-by: Jonathan Yong <jonathan.yong@intel.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
