RegSetValueEx problem?

davep davep at
Sun Apr 8 13:13:49 CDT 2001

On Sun, 08 Apr 2001, you wrote:
> At 10:54 AM 08/04/2001 +0100, you wrote:
> >
> >I've found time to do some more digging, but I'm still stumped.
> <snip>
> I have browsed server/registry.c and it seems that the registry
> stores a terminating null for strings; so if you have in the registry
> file a string like "0123456789", it get in memory a length of 11.
> So I guess that the fix would be to fix the length by -1 somewhere
> in the path server->ntdll->advapi
> I have tried this but I am not sure at all this is correct :

Well it solves the problem, thanks.

So there are at least *three* places where null-termination of text strings are

Dave Pickles

More information about the wine-devel mailing list