src/winsup/utils ChangeLog cygcheck.cc cygpath ...

corinna@cygwin.com corinna@cygwin.com
Sat Aug 28 11:22:00 GMT 2010


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2010-08-28 11:22:37

Modified files:
	winsup/utils   : ChangeLog cygcheck.cc cygpath.cc ldh.cc 
	                 locale.cc mkgroup.c mkpasswd.c module_info.cc 
	                 path.cc ps.cc regtool.cc strace.cc 
Added files:
	winsup/utils   : loadlib.h 

Log message:
	* loadlib.h: New header implementing safe LoadLibrary calls.
	Include throughout files using LoadLibrary function.
	* cygcheck.cc (dump_sysinfo): Retrieve kernel32.dll handle via
	GetModuleHandle, rather than using LoadLibrary.
	* cygpath.cc (get_long_name): Ditto.
	(do_sysfolders): Append .dll suffix in LoadLibrary call.
	* ldh.cc (WinMain): Use LoadLibraryExW with DONT_RESOLVE_DLL_REFERENCES
	to avoid loading malicious library code.
	* locale.cc (print_locale_with_codeset): Change way to retrieve
	kernel32.dll path.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/loadlib.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.539&r2=1.540
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/cygcheck.cc.diff?cvsroot=src&r1=1.123&r2=1.124
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/cygpath.cc.diff?cvsroot=src&r1=1.62&r2=1.63
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ldh.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/locale.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/mkgroup.c.diff?cvsroot=src&r1=1.47&r2=1.48
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/mkpasswd.c.diff?cvsroot=src&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/module_info.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/path.cc.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ps.cc.diff?cvsroot=src&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=src&r1=1.29&r2=1.30
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/strace.cc.diff?cvsroot=src&r1=1.56&r2=1.57



More information about the Cygwin-cvs mailing list