[dm-devel] [PATCH] dmsetup: fix 'dmsetup status' for crypt filling '0' in wrong area

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Apr 20 16:07:04 UTC 2007


Hi,

dmsetup tries to suppress encryption key of crypt target in the table
by filling '0' in params buffer.
However, the code assumes the case for showing table only and will
fill '0' beyond the params buffer when it's showing status, where
the params is "".

The patch fixes it.
The suppression is not necessary for showing status as
no encryption key is included in status line.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmsetup-status-crypt-suppression-bug.patch
Type: text/x-patch
Size: 866 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070420/450a04c3/attachment.bin>


More information about the dm-devel mailing list