Fix bug #12621 with crashes on MS-Windows in LookupAccountSid.
commit92340ec75375cc92b5024296817f5bb7f989135f
authorEli Zaretskii <eliz@gnu.org>
Fri, 14 Dec 2012 09:09:36 +0000 (14 11:09 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 Dec 2012 09:09:36 +0000 (14 11:09 +0200)
tree7055e019cfae1bf03bd2633388d9f6e27cf7d045
parent1e20eeb758c5c78055962c6de6ee6ac2b49b8a02
Fix bug #12621 with crashes on MS-Windows in LookupAccountSid.

 src/w32.c (get_name_and_id): Always pass NULL as the first argument
 of lookup_account_sid.  Avoids crashes with UNC file names that
 refer to DFS domains, not to specific machine names.  (Bug#12621)
 Remove now unused argument FNAME; all callers changed.
 (get_file_owner_and_group): Remove now unused argument FNAME; all
 callers changed.
src/ChangeLog
src/w32.c