This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Bug: regtool does not fully display REG_MULTI_SZ values that contain a zero-length component
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Cygwin" <cygwin at cygwin dot com>
- Date: Thu, 3 Nov 2005 21:55:00 -0000
- Subject: Bug: regtool does not fully display REG_MULTI_SZ values that contain a zero-length component
When printing out a a REG_MULTI_SZ, regtool stops printing at the first \0\0
sequence encountered. However, if the multi-string contains a zero-length
element, a \0\0 sequence will be encountered before the end of the data.
regtool should use the length value returned from the registry query call to
know when it has printed all data, not the presence of a \0\0 sequence.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/