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 retitled this revision from to Fix off-by-one in array index bounds check.May 16 2015, 6:28 PM
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: grehan, neel, jhb, araujo.
allanjude updated this revision to Diff 5430.
neel edited edge metadata.May 16 2015, 7:04 PM
neel accepted this revision.

Looks good.

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

Seems reasonable. Go ahead.

This revision was automatically updated to reflect the committed changes.