On Wed, 2007-12-05 at 19:49 +0100, David Eriksson wrote: > On Wed, 2007-12-05 at 17:12 +0100, Guido Diepen wrote: > > Hi, > > > > the supplied patch is against the current SVN (3074) as mentioned in the > > file. > > > > I think there was a bug in the rapi_buffer_read_string. It would always > > read > > one more byte then the actual size of the letters, to ensure a \0 > > terminator. > > It seems like the only other function that uses rapi_buffer_read_string. > is CeGetSpecialFolderPath. Have you checked that it still works properly > after the patch? > > > Unfortunately, with the EnumKey this always went ok, with the EnumValue > > that > > is now implemented, more data was behind the string, resulting in an > > unterminated string and problems with reading the later values. > > > > Furthermore, I updated the synce-registry tool to make a complete dump of > > the > > registry to screen. This takes about 4.5 minutes on my machine and the > > resulting file with all information is about 1.3 MB > > > > Two options have been added to synce-registry: -D and -L > > synce-registry -D > > does a complete dump of the registry > > > > the -L option turns on recursion for key_listing, meaning you can do a > > recursive dump of only HKLM\Software\Microsoft by: > > synce-registry -l HKLM "Software\Microsoft" -L > > (to avoid the 4.5 minutes all of the time :) ) > > > > Hope the supplied patch is useful for everybody. > > Nice! Great work! > > \David
Guido, I cant get the patch to build cleanly at the moment, getting some undeclared vars, I'll try and look at it soon. Or David, if you could have a look ? Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel