14 Apr
2011
14 Apr
'11
6:38 p.m.
Am 15.04.2011 00:13, schrieb Rémy Oudompheng:
And do we really have to filter out invalid variable names? Isn't there some documentation that says the kernel isn't supposed to have absurd command line parameters (like unescaped >, <, &, |)
The kernel allows all kind of crappy stuff. It even exports almost everything with a = in it to the environment (but not everything, it strips root= for example). If you put something like (/%$=abc on the command line, it will export a variable (%$ into the environment. The situation is pretty annoying, as I don't know for sure which variables it exports and which it doesn't, so we still try to parse everything.