Page MenuHomeFreeBSD

[iwm] Fix off-by-one check in iwm_read_firmware().
ClosedPublic

Authored by ivadasz on Sep 18 2016, 9:26 AM.
Tags
None
Referenced Files
F146078389: D7931.id.diff
Fri, Feb 27, 3:10 PM
F146039860: D7931.id20434.diff
Fri, Feb 27, 7:03 AM
Unknown Object (File)
Thu, Feb 26, 10:02 PM
Unknown Object (File)
Jan 18 2026, 1:44 PM
Unknown Object (File)
Jan 16 2026, 6:00 PM
Unknown Object (File)
Dec 27 2025, 1:16 AM
Unknown Object (File)
Dec 25 2025, 8:29 AM
Unknown Object (File)
Dec 18 2025, 11:16 PM
Subscribers

Details

Summary

This fixes a potential buffer overrun in the firmware parsing code.

Reported by: Coverity

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5195
Build 5328: arc lint + arc unit

Event Timeline

ivadasz retitled this revision from to [iwm] Fix off-by-one check in iwm_read_firmware()..
ivadasz updated this object.
ivadasz added reviewers: adrian, cognet.
adrian edited edge metadata.
This revision is now accepted and ready to land.Sep 19 2016, 9:36 PM
This revision was automatically updated to reflect the committed changes.