This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]