Skip to content

Fix some bugs and improve memory safety across decoder - #173

Merged
yilun-zhangs merged 2 commits into
mainfrom
v2-decoder
Aug 5, 2026
Merged

Fix some bugs and improve memory safety across decoder#173
yilun-zhangs merged 2 commits into
mainfrom
v2-decoder

Conversation

@yilun-zhangs

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: yilun.zhang <yilun.zhang@samsung.com>
1. Add NULL check to get_rendering_channels() for symmetry with get_decoding_channels()
2. Fix signedness bug in _get_new_channels() causing out-of-bounds access
3. Add idx < 0 guard in base_advanced profile check branch
@yilun-zhangs
yilun-zhangs merged commit 064e817 into main Aug 5, 2026
6 checks passed
@yilun-zhangs
yilun-zhangs deleted the v2-decoder branch August 5, 2026 10:09
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