::pfiles walks out of bounds on array of vnode types
mdb's ::pfiles walks one entry too far through the fs_type array of vnode types. Also, it does this all the time, even if it already matched.
It should have the correct maximum, and stop when it finds a match.
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 1665390b481087ca2aaff06a502c62b3ee91d530 Author: Richard Lowe <firstname.lastname@example.org> Date: 2016-02-13T19:10:03.000Z 6638 ::pfiles walks out of bounds on array of vnode types Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Andrew Stormont <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>