aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStefan Schmidt <[email protected]>2015-08-20 12:09:47 +0200
committerMarcel Holtmann <[email protected]>2015-08-28 21:00:37 +0200
commit4e1795de10903ae561872c54a72fa1bcf78f49cd (patch)
tree079a1a8ccd4fa1aae16d18c14d5e40d0b1d31f23 /tools/perf/scripts/python/export-to-postgresql.py
parentdf945360ce07ca592464e44fdd2ce61ee1536e1e (diff)
nl802154: stricter input checking for boolean inputs
So far we handled boolean input by forcing them with !! and assigning them into a bool. This allowed userspace to send values > 1 which were used as 1. We should be stricter here and return -EINVAL for all but 0 or 1. Signed-off-by: Stefan Schmidt <[email protected]> Acked-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions