* setlsapwd.cc (setlsapwd): Explicitely erase password buffer content
after usage.
This commit is contained in:
parent
d08afb78d1
commit
85fd77a145
@ -1,3 +1,8 @@
|
|||||||
|
2008-12-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* setlsapwd.cc (setlsapwd): Explicitely erase password buffer content
|
||||||
|
after usage.
|
||||||
|
|
||||||
2008-12-15 Corinna Vinschen <corinna@vinschen.de>
|
2008-12-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.
|
* fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.
|
||||||
|
@ -84,7 +84,10 @@ setlsapwd (const char *passwd)
|
|||||||
__seterrno_from_nt_status (status);
|
__seterrno_from_nt_status (status);
|
||||||
#endif
|
#endif
|
||||||
if (data_buf)
|
if (data_buf)
|
||||||
free (data_buf);
|
{
|
||||||
|
memset (data.Buffer, 0, data.Length);
|
||||||
|
free (data_buf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user