Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <036d01c5e0c1$3f03c9d0$5304a8c0@chimaera> From: "Max Bowsher" To: "Cygwin" Subject: Bug: regtool does not fully display REG_MULTI_SZ values that contain a zero-length component Date: Thu, 3 Nov 2005 21:55:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/