[issue1863] Implement 'hammer volume-list' subcommand

Stathis Kamperis (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Fri Oct 8 09:28:14 PDT 2010


Stathis Kamperis <ekamperi at gmail.com> added the comment:

Fixed, sorry.

I changed strlcpy() to copyout() and also added some rudimentary validation on
the count of volumes to write.

I honestly don't know how to make kernel defend against a lying user-land.

Regards,
Stathis

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1863>
_____________________________________________________






More information about the Bugs mailing list