Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbreak PS audio #51

Merged
merged 1 commit into from
May 4, 2020
Merged

Unbreak PS audio #51

merged 1 commit into from
May 4, 2020

Conversation

fcartegnie
Copy link
Contributor

Since 3b80a57, legitimate PS is totally broken.

Checking final computed channel allocation for OOB deref is sufficient (NULL in that case).

#32
This reverts commit 3b80a57.

This reverts commit 3b80a57.
@fabiangreffrath
Copy link
Collaborator

@hlef what do you say?

@hlef
Copy link
Contributor

hlef commented May 4, 2020

If my patch is wrong, please, revert it.

@fcartegnie are you sure that hDecoder->time_out[sce->channel] is not OOB?

@fcartegnie
Copy link
Contributor Author

If my patch is wrong, please, revert it.

@fcartegnie are you sure that hDecoder->time_out[sce->channel] is not OOB?

crashes are in filters processing. time_out data is the reason of the NULL derefs, and it is also set on channel allocation a bit earlier, and then can't be NULL in normal operations. That can be used as a signal that something went wrong.

@basicmaster
Copy link
Contributor

[I don't have real knowledge how upstream changes/fixes are propagated to Ubuntu's packages]

Will this fix also be applied (somehow automatically?) to the version that Ubuntu 20.04 ships, or do I have to open an issue at Ubuntu's Launchpad for this, to request this fix to be backported?

@fabiangreffrath
Copy link
Collaborator

Ubuntu already has the 2.9.2 release.

@basicmaster
Copy link
Contributor

According to the package page and Launchpad, it still has 2.9.1.

@fabiangreffrath
Copy link
Collaborator

I see this:
https://launchpad.net/ubuntu/+source/faad2

@basicmaster
Copy link
Contributor

While for Groovy Gorilla (= upcoming 20.10) 2.9.2-1 is listed, for Focal Fossa (= 20.04), still only version 2.9.1-1 is displayed (the "Focal Fossa" link also refers to the Launchpad site I posted).

@fabiangreffrath
Copy link
Collaborator

Sorry, I got confused by Ubuntu's stupid release code names.

@basicmaster
Copy link
Contributor

I just opened a bug at Ubuntu's Launchpad here: https://bugs.launchpad.net/ubuntu/+source/faad2/+bug/1882240

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.

4 participants