[PATCH] Fix REG_MULTI_SZ save fromat - bug 824

Alexandre Julliard julliard at winehq.org
Mon Jan 7 13:47:56 CST 2008


"Dan Kegel" <dank at kegel.com> writes:

> Alexandre wrote:
>> I don't think a non null-terminated MULTI_SZ string is very useful.
>> Do you really have an app that depends on this?
>
> http://www.xpregistrycleaner.com/embedded-null-characters/ claims
> "some software vendors use the embedded-null registry key technique
> as a way to enforce the software license agreement and to reduce the
> ability of users to tamper with the license information stored in
> these registry keys."

Embedded nulls should work just fine. The case that doesn't work is
string values that aren't properly null-terminated.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list