]> git.ipfire.org Git - thirdparty/grub.git/commit
Decrease stack usage in signature verification.
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 16 Nov 2013 15:34:51 +0000 (16:34 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 16 Nov 2013 15:34:51 +0000 (16:34 +0100)
commit4f84ae0ec8a290aefb989de24552dbb23e65a6f1
tree8e2edb616acc81cabbfea99ebc9cfa8411078220
parentab4366fd49bef70a5e62b3b73e7f14e1a7819c7f
Decrease stack usage in signature verification.

We have only 92K of stack and using over 4K per frame is wasteful

* grub-core/commands/verify.c (grub_load_public_key): Allocate on heap
rather than stack.
(grub_verify_signature_real): Likewise.
ChangeLog
grub-core/commands/verify.c