Fix bug #12621 with crashes on MS-Windows in LookupAccountSid.
commitc20f73f6d3aacc352676912f649e41852601600e
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)
tree35735befe66ea969115d9e88365fb3b3c7e94116
parentfed0f22c1b3ea8b34c8fbaf17da3643edeee1088
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