* [patch 0/5] early params NULL pointer deref fix
@ 2008-07-05 11:53 Cyrill Gorcunov
2008-07-09 11:57 ` Ingo Molnar
0 siblings, 1 reply; 3+ messages in thread
From: Cyrill Gorcunov @ 2008-07-05 11:53 UTC (permalink / raw)
To: mingo, akpm, hpa, tglx, andi; +Cc: linux-kernel
This series fix a possible NULL pointer deref in case if user
was stupid enough to pass boot parameter without a mandatory value
Actually there is a number of such issues on other platforms too
(like powerpc, sh, s390) so I think it should be fixed too (any
volunteers?)
Any comments are welcome.
- Cyrill -
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 0/5] early params NULL pointer deref fix
2008-07-05 11:53 [patch 0/5] early params NULL pointer deref fix Cyrill Gorcunov
@ 2008-07-09 11:57 ` Ingo Molnar
2008-07-09 15:25 ` Cyrill Gorcunov
0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2008-07-09 11:57 UTC (permalink / raw)
To: Cyrill Gorcunov; +Cc: akpm, hpa, tglx, andi, linux-kernel
* Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> This series fix a possible NULL pointer deref in case if user was
> stupid enough to pass boot parameter without a mandatory value
>
> Actually there is a number of such issues on other platforms too
> (like powerpc, sh, s390) so I think it should be fixed too (any
> volunteers?)
>
> Any comments are welcome.
thanks Cyrill, i picked them up.
I'm wondering, would it be possible to filter NULL out on one higher
level? Would it break any existing functionality? (i dont think it would
or should)
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 0/5] early params NULL pointer deref fix
2008-07-09 11:57 ` Ingo Molnar
@ 2008-07-09 15:25 ` Cyrill Gorcunov
0 siblings, 0 replies; 3+ messages in thread
From: Cyrill Gorcunov @ 2008-07-09 15:25 UTC (permalink / raw)
To: Ingo Molnar; +Cc: akpm, hpa, tglx, andi, linux-kernel
[Ingo Molnar - Wed, Jul 09, 2008 at 01:57:48PM +0200]
|
| * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > This series fix a possible NULL pointer deref in case if user was
| > stupid enough to pass boot parameter without a mandatory value
| >
| > Actually there is a number of such issues on other platforms too
| > (like powerpc, sh, s390) so I think it should be fixed too (any
| > volunteers?)
| >
| > Any comments are welcome.
|
| thanks Cyrill, i picked them up.
|
| I'm wondering, would it be possible to filter NULL out on one higher
| level? Would it break any existing functionality? (i dont think it would
| or should)
|
| Ingo
|
well, actually it would and should :)
Currently parser does a simple thing - just parses command line and split
key/param pairs. But kernel code uses it in three ways:
1) as simple flag specified on booting
2) as key and value
3) combination of 1) and 2)
So for now I don't see any simple solution for this. We could use '='
param postfix to specify that a mandatory value required for param and
throw out any misconfigured boot options but it will make way 3) invalid
so kernel code will have to be fixed then. So some additional review
and conversation about this are needed.
- Cyrill -
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-09 15:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-05 11:53 [patch 0/5] early params NULL pointer deref fix Cyrill Gorcunov
2008-07-09 11:57 ` Ingo Molnar
2008-07-09 15:25 ` Cyrill Gorcunov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox