Skip to content

fix(dpx): detect corrupt userbuf size, overflow guard#5271

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-dpx
Jun 29, 2026
Merged

fix(dpx): detect corrupt userbuf size, overflow guard#5271
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-dpx

Conversation

@lgritz

@lgritz lgritz commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator
  • Detect corrupted userbuf size.
  • Protection against integer multiply overflow in various places in the DPX reading code.
  • Also fix memory load alignment issue. Didn't seem to be a problem in practice, but the sanitizers weren't happy on some platforms.

Assisted-by: Claude Code / sonnet-4.6

- Detect corrupted userbuf size.
- Pprotection against integer multiply overflow in various places
  in the DPX reading code.
- Also fix memory load alignment issue. Didn't seem to be a problem in
  practice, but the sanitizers weren't happy on some platforms..

Assisted-by: Claude Code / sonnet-4.6

Signed-off-by: Larry Gritz <lg@larrygritz.com>

@jessey-git jessey-git left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@lgritz lgritz merged commit 5d49c3e into AcademySoftwareFoundation:main Jun 29, 2026
28 checks passed
@lgritz lgritz deleted the lg-dpx branch June 29, 2026 16:48
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