1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* w32reg.c (read_w32_registry_string): Fixed expanding of the environment

buffer; didn't worked at all.  Reported by Thijmen Klok.  From Werner on
stable branch.

* secmem.c (secmem_free, secmem_term): Use wipememory2() instead of
memset() to overwrite secure memory

* iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available. From
Werner on stable branch.

* fileutil.c: Comment from stable branch.
This commit is contained in:
David Shaw 2002-11-06 22:51:44 +00:00
parent d941240b45
commit d771dd272d
5 changed files with 31 additions and 12 deletions

View file

@ -103,6 +103,7 @@ read_w32_registry_string( const char *root, const char *dir, const char *name )
nbytes = ExpandEnvironmentStrings (result, tmp, n1);
if (nbytes && nbytes > n1) {
free (tmp);
n1 = nbytes;
tmp = malloc (n1 + 1);
if (!tmp)
goto leave;