diff options
| author | Dan Carpenter <[email protected]> | 2010-04-06 16:31:26 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2010-04-06 16:52:39 +0000 |
| commit | b0cc58a25d04160d39a80e436847eaa2fbc5aa09 (patch) | |
| tree | a20f259f6d2081e40ac979db8daad6b71ff7342c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | ALSA: echoaudio - Eliminate use after free (diff) | |
| download | kernel-b0cc58a25d04160d39a80e436847eaa2fbc5aa09.tar.gz kernel-b0cc58a25d04160d39a80e436847eaa2fbc5aa09.zip | |
ALSA: mixart: range checking proc file
The original code doesn't take into consideration that the value of
MIXART_BA0_SIZE - pos can be less than zero which would lead to a large
unsigned value for "count".
Also I moved the check that read size is a multiple of 4 bytes below
the code that adjusts "count".
Signed-off-by: Dan Carpenter <[email protected]>
Cc: <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
