Re: [PATCH] efi: Check for null efi kernel parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2015-07-01 at 14:19 +0100, Matt Fleming wrote:
> Did you hit this by passing "efi=" on the kernel command line?

I hit this by passing "efi" alone. "efi=" works well because the pointer
points to a valid string that only contains \0.
> 
> I would have assumed that the generic early param parsing code would
> have caught this problem since it's obviously a potential issue for
> every other early_param() function, and so needs to be solved in a
> more
> general way.

Yes, I was dubious on where to apply the patch. I saw that
parse_option_str does not check for the validity of the pointers. That
might seem to be a more general fix. I'll take that route.

Thanks and BR,
Ricardo


--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux