Page MenuHomeFreeBSD

Fix off-by-one in array index bounds check
ClosedPublic

Authored by allanjude on May 16 2015, 6:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 2, 3:53 AM
Unknown Object (File)
Sun, Aug 2, 12:56 AM
Unknown Object (File)
Sat, Aug 1, 5:38 AM
Unknown Object (File)
Mon, Jul 27, 6:25 PM
Unknown Object (File)
Sat, Jul 18, 5:41 AM
Unknown Object (File)
Jun 30 2026, 1:08 AM
Unknown Object (File)
Jun 27 2026, 4:03 PM
Unknown Object (File)
Jun 25 2026, 4:33 PM
Subscribers

Details

Summary

bhyveload would allow you to create 33 entries on an array that only has 32 slots

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude retitled this revision from to Fix off-by-one in array index bounds check.
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: grehan, neel, jhb, araujo.
neel edited edge metadata.

Looks good.

This revision is now accepted and ready to land.May 16 2015, 7:04 PM
araujo edited edge metadata.

Seems reasonable. Go ahead.

This revision was automatically updated to reflect the committed changes.