All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Clean up code and fix coverity bugs in util/grub-module-verifierXX.c
@ 2022-02-03  0:26 Alec Brown
  2022-02-03  0:26 ` [PATCH 1/4] util/grub-module-verifierXX.c: Add function to calculate section headers Alec Brown
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Alec Brown @ 2022-02-03  0:26 UTC (permalink / raw)
  To: grub-devel; +Cc: daniel.kiper, darren.kenny

Coverity identified several untrusted loop bounds in
util/grub-module-verifierXX.c. This patch series addresses these bugs, cleans up
lengthy equations, and makes checks to values based on the elf manual page.

The Coverity Bugs being addressed are:
CID 314021
CID 314027
CID 314033

Alec Brown (4):
      util/grub-module-verifierXX.c: Add function to calculate section headers
      util/grub-module-verifierXX.c: Validate number of elf section header table entries
      util/grub-module-verifierXX.c: Validate elf section header table index for section name string table
      util/grub-module-verifierXX.c: Add module_size parameter to functions for sanity checking

 util/grub-module-verifierXX.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 93 insertions(+), 31 deletions(-)



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-08 16:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-03  0:26 [PATCH 0/4] Clean up code and fix coverity bugs in util/grub-module-verifierXX.c Alec Brown
2022-02-03  0:26 ` [PATCH 1/4] util/grub-module-verifierXX.c: Add function to calculate section headers Alec Brown
2022-02-03  0:26 ` [PATCH 2/4] util/grub-module-verifierXX.c: Validate number of elf section header table entries Alec Brown
2022-02-03  0:26 ` [PATCH 3/4] util/grub-module-verifierXX.c: Validate elf section header table index for section name string table Alec Brown
2022-02-03  0:27 ` [PATCH 4/4] util/grub-module-verifierXX.c: Add module_size parameter to functions for sanity checking Alec Brown
2022-02-08 16:28   ` Daniel Kiper
2022-02-03 11:56 ` [PATCH 0/4] Clean up code and fix coverity bugs in util/grub-module-verifierXX.c Darren Kenny
2022-02-04 14:36   ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.