diff options
author | Rene Herman <[email protected]> | 2008-08-11 19:20:17 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2008-08-11 19:40:38 +0200 |
commit | 48d97cb65e62a5f1122ac2cf1149800d4f4693e8 (patch) | |
tree | 20f9ccaeeb89eebec0444fb3eb45ebaa6f2c3525 /tools/perf/scripts/python | |
parent | b0fbaa6b5976962434349849673b9ff63631b6d4 (diff) |
x86: make "apic" an early_param() on 32-bit, NULL check
Cyrill Gorcunov observed:
> you turned it into early_param so now it's NULL injecting vulnerabled.
> Could you please add checking for NULL str param?
fix that.
Also, change the name of 'str' into 'arg', to make it more apparent
that this is an optional argument that can be NULL, not a string
parameter that is empty when unset.
Reported-by: Cyrill Gorcunov <[email protected]>
Signed-off-by: Rene Herman <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions