commit | 6eb082452df1218e9c0ce1168c456f839ce5acb2 | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Sat Apr 15 20:55:49 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sun Apr 16 10:06:25 2017 -0600 |
tree | b12a4424e0b5115cd47ee95eb74591cddef554c8 | |
parent | d788c59be5fa98ef41cc4dbab8e0cd8a29df082c [diff] |
lightnvm: convert sprintf into strlcpy Convert sprintf calls to strlcpy in order to make possible buffer overflow more obvious. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>