aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2017-11-21 17:28:06 +0100
committerTakashi Iwai <[email protected]>2017-11-21 17:50:34 +0100
commit0a62d6c966956d77397c32836a5bbfe3af786fc1 (patch)
tree6dcce2c8bb1369d171bf085fa3ee3e9f6f661615 /tools/perf/scripts/python/call-graph-from-sql.py
parent8428a8ebde2db1e988e41a58497a28beb7ce1705 (diff)
ALSA: usb-audio: Add sanity checks in v2 clock parsers
The helper functions to parse and look for the clock source, selector and multiplier unit may return the descriptor with a too short length than required, while there is no sanity check in the caller side. Add some sanity checks in the parsers, at least, to guarantee the given descriptor size, for avoiding the potential crashes. Fixes: 79f920fbff56 ("ALSA: usb-audio: parse clock topology of UAC2 devices") Reported-by: Andrey Konovalov <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions