Skip to content

fix null pointer dereferences in intra channel and long term prediction - #234

Merged
fabiangreffrath merged 2 commits into
knik0:masterfrom
radioactiveman:master
Aug 18, 2026
Merged

fix null pointer dereferences in intra channel and long term prediction#234
fabiangreffrath merged 2 commits into
knik0:masterfrom
radioactiveman:master

Conversation

@radioactiveman

@radioactiveman radioactiveman commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

I have experienced random segfaults when playing AAC files from https://toolsfairy.com/audio-test/sample-aac-files with Audacious. Its AAC plugin is based on faad2 and while debugging this, I found out the underlying problems are null pointer dereferences in faad2. The two commits prevent the segfaults by appropriate null checks.

Ensure "pred_stat" is not null in reconstruct_channel_pair(),
similar to the check in reconstruct_single_channel().
Like ic_prediction(), lt_prediction() expects a "pred_stat" parameter
which is not null. Add checks to ensure that and add a new error message.
@fabiangreffrath
fabiangreffrath merged commit 34cb040 into knik0:master Aug 18, 2026
6 checks passed
@radioactiveman

Copy link
Copy Markdown
Contributor Author

@fabiangreffrath: Do you already have an idea when faad 2.11.3 will potentially be released?

@fabiangreffrath

Copy link
Copy Markdown
Collaborator

Good idea! I'll try to get something out today.

@radioactiveman

Copy link
Copy Markdown
Contributor Author

Great, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants