Re: Bug in arg.c

2012-01-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 05.01.2012 04:02, Seth Goldberg wrote: --- a/grub-core/lib/arg.cWed Jan 04 17:38:56 2012 -0800 +++ b/grub-core/lib/arg.cWed Jan 04 18:59:08 2012 -0800 @@ -351,7 +351,7 @@ opt = find_long (cmd->options, arg + 2, arglen); if (!option && argv[curarg + 1] && argv[curar

Bug in arg.c

2012-01-04 Thread Seth Goldberg
Hi, If you supply an invalid long option with an argument, null pointer dereference will result. The fix is simple: --- a/grub-core/lib/arg.cWed Jan 04 17:38:56 2012 -0800 +++ b/grub-core/lib/arg.cWed Jan 04 18:59:08 2012 -0800 @@ -351,7 +351,7 @@ opt = find_long (cmd->opt