[issue1863] Implement 'hammer volume-list' subcommand
Stathis Kamperis <ekamperi@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1863>
_____________________________________________________
討論串 (同標題文章)
完整討論串 (本文為第 8 之 17 篇):