git: cryptsetup - Fix uuid bug, cleanup

看板DFBSD_commit作者時間15年前 (2010/08/22 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0482a033108a2b6e34ee99c470fd84d91119e291 Author: Alex Hornung <ahornung@gmail.com> Date: Sun Aug 22 12:16:23 2010 +0100 cryptsetup - Fix uuid bug, cleanup * Clean up some useless debug and improve some other to be more meaningful. * Fix (another) bug in the uuid mess. Linux' uuid_unparse doesn't allocate any memory, unlike our uuid_to_string. Work around it by using a temporary buffer and then copying into the final destination. The compiler has been warning me about this one long enough... Summary of changes: contrib/cryptsetup/lib/libdevmapper.c | 4 +--- contrib/cryptsetup/lib/utils.c | 3 +++ contrib/cryptsetup/luks/keymanage.c | 9 ++++++++- contrib/cryptsetup/luks/pbkdf.c | 1 - 4 files changed, 12 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0482a033108a2b6e34ee99c470fd84d91119e291 -- DragonFly BSD source repository
文章代碼(AID): #1CSGguUe (DFBSD_commit)