lsa handle in security.cc

Corinna Vinschen cygwin-patches@cygwin.com
Tue May 21 07:50:00 GMT 2002


On Sun, May 19, 2002 at 01:28:51PM -0400, Pierre A. Humblet wrote:
> The invalid value for an lsa handle in security.cc
> is inconsistent. It is initially NULL, but in 
> close_local_policy () it is INVALID_HANDLE_VALUE.
> Calling LsaClose(NULL) causes a fault, at least in gdb.
> 
> The patch uses INVALID_HANDLE_VALUE uniformly, instead of 
> NULL. The converse would probably work as well, not sure
> which is better.

Applied.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list