Page MenuHomeFreeBSD

ipfilter: Avoid negative array indicies
AcceptedPublic

Authored by cy on Thu, Feb 12, 4:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 13, 6:43 AM
Unknown Object (File)
Fri, Feb 13, 3:00 AM
Unknown Object (File)
Thu, Feb 12, 5:47 PM
Unknown Object (File)
Thu, Feb 12, 5:13 PM
Unknown Object (File)
Thu, Feb 12, 4:12 PM
Unknown Object (File)
Thu, Feb 12, 4:09 PM

Details

Summary

Array indices must always be posive. We avoid this by making each index
unsigned. This mitigates out-of-bounds reads and writes.

Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70635
Build 67518: arc lint + arc unit