Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #262253

Category ffmpeg
Changed by Priyanshu Thapliyal <priyanshuthapliyal2005ohnoyoudont@gmail.com>
Changed at Wed 25 Mar 2026 01:16:41
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision 1853c80e20c517c094af0d12605c435b9f5f0972

Comments

avcodec/alsdec: fix abs(INT_MIN) UB in read_diff_float_data()
Replace abs() with FFABSU() to avoid undefined behavior when
raw_samples[c][i] == INT_MIN. Per libavutil/common.h, FFABS()
has the same INT_MIN UB as abs(); FFABSU() is the correct
helper as it casts to unsigned before negation.

Reported-by: Guanni Qu <qguanni@gmail.com>
Signed-off-by: Priyanshu Thapliyal <priyanshuthapliyal2005@gmail.com>

Changed files