lightnvm: convert sprintf into strlcpy
Convert sprintf calls to strlcpy in order to make possible buffer overflow more obvious. Signed-off-by: NJavier González <javier@cnexlabs.com> Signed-off-by: NMatias Bjørling <matias@cnexlabs.com> Signed-off-by: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录