delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/03/16:55:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <maxb AT ukf DOT net>
To: "Cygwin" <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019