DragonFly BSD
DragonFly commits List (threaded) for 2010-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: cryptsetup - Fix uuid bug, cleanup


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Aug 2010 04:23:26 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]