chore: use BLOCK_LEN_LONG consistently in filterbank buffer copies#104
Conversation
Automated security fix generated by Orbis Security AI
|
Both |
|
Thanks, yes, you’re right that On closer review, I agree the original “critical heap corruption” framing is too strong: the code appears to use fixed AAC frame/block constants, and I don’t have evidence that these sizes are attacker-controlled in this path. The only possible rationale for the change would be readability/consistency: I’ll retitle this as a small readability/consistency cleanup. |
|
Thanks! |
Summary
This is a small consistency cleanup in libfaac/filtbank.c.
FRAME_LEN and BLOCK_LEN_LONG currently evaluate to the same value, so this does not change runtime behavior. The intent is only to make the copy sizes match the surrounding long-block buffer layout, where transf_buf is sized as 2 * BLOCK_LEN_LONG and subsequent processing indexes by BLOCK_LEN_LONG.
This should not be treated as a security fix.
Changes
libfaac/filtbank.cVerification
Automated security fix by OrbisAI Security