Page MenuHomeFreeBSD

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

Authored by allanjude on May 16 2015, 6:28 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

allanjude updated this revision to Diff 5430.May 16 2015, 6:28 PM
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 accepted this revision.May 16 2015, 7:04 PM
neel edited edge metadata.

Looks good.

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

Seems reasonable. Go ahead.

This revision was automatically updated to reflect the committed changes.