aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-07-16 09:37:04 +0300
committerMoyster <oysterized@gmail.com>2016-11-07 13:44:29 +0100
commit2f0e9a71b74fdaa06e33a50d0e6c3d7ec02c03e0 (patch)
treeaee7d3545c5fdf27459f8c42892f884931b30006 /tools/perf/scripts/python
parentfbea6269afa5250fb322ab089d19c61544f79acb (diff)
downloadandroid_kernel_m2note-2f0e9a71b74fdaa06e33a50d0e6c3d7ec02c03e0.tar.gz
ALSA: compress: fix an integer overflow check
I previously added an integer overflow check here but looking at it now, it's still buggy. The bug happens in snd_compr_allocate_buffer(). We multiply ".fragments" and ".fragment_size" and that doesn't overflow but then we save it in an unsigned int so it truncates the high bits away and we allocate a smaller than expected size. Fixes: b35cc8225845 ('ALSA: compress_core: integer overflow in snd_compr_allocate_buffer()') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions