Rohde-Schwarz / TrustedGRUB2

DEPRECATED TPM enabled GRUB2 Bootloader
GNU General Public License v3.0
193 stars 77 forks source link

In addition to menuentry, also don't measure submenu and [...] commands. #27

Closed mtahmed closed 8 years ago

mtahmed commented 8 years ago

Both menuentry and submenu commands end up being very long because all the contents between the braces is also part of the command arguments. The conditional between square brackets is also not very useful to measure since a command cannot be executed between two square brackets. This is from skimming through the code in grub-core/commands/test.c.

The commands inside menuentry/submenu are all measured anyway so there is no harm in not measuring them.

mtahmed commented 8 years ago

Fixes #25.

neusdan commented 8 years ago

Fix will be integrated in #30.

Thanks for your effort.