Skip to content

auxdisplay: jhd1313: Out-of-bounds read #83399

@thedjnK

Description

@thedjnK

Describe the bug
There is an out of bounds read in the jhd1313 auxdisplay driver caused by checking a variable being greater than the array size of colours, when it should instead be greater than or equal.

Expected behavior
No out of bounds read

Impact
Undefined behaviour

Environment (please complete the following information):

  • Commit SHA or Version used: v3.7-branch and v4.0-branch

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions