]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Suppress shell expansion on echo '*' and echo "*" like cases.
authorBVK Chaitanya <bvk.groups@gmail.com>
Sun, 7 Nov 2010 14:52:29 +0000 (20:22 +0530)
committerBVK Chaitanya <bvk.groups@gmail.com>
Sun, 7 Nov 2010 14:52:29 +0000 (20:22 +0530)
Reported by: Jordan Uggla.

* grub-core/script/execute.c (grub_script_arglist_to_argv): Escape
string arguments before shell expansion.
* tests/grub_cmd_echo.in: New testcases.

1  2 
ChangeLog

diff --cc ChangeLog
index 764dffc4a3581544c4cc64d7ea20206e4a22b3ff,adb768eaf288dc9d640e1777ab2dd1d9f0dbb65c..a35961641e6d57fa4115668ed16b5da1f350d593
+++ b/ChangeLog
@@@ -1,8 -1,12 +1,17 @@@
+ 2010-11-07  BVK Chaitanya  <bvk.groups@gmail.com>
+       Suppress shell expansion on echo '*' and echo "*" like cases.
+       Reported by: Jordan Uggla.
+       * grub-core/script/execute.c (grub_script_arglist_to_argv): Escape
+       string arguments before shell expansion.
+       * tests/grub_cmd_echo.in: New testcases.
 +2010-11-07  Robert Millan  <rmh@gnu.org>
 +
 +      * conf/mips-qemu-mips.rmk: Remove stale file from previous
 +      transition.
 +
  2010-11-07  Vladimir Serbinenko  <phcoder@gmail.com>
  
        * grub-core/kern/emu/hostdisk.c