This is the mail archive of the cygwin-cvs@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

winsup/utils ChangeLog cygcheck.cc


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2000-12-15 20:53:30

Modified files:
	utils          : ChangeLog cygcheck.cc 

Log message:
	* cygcheck.cc (cygwin_info): Add some more bounds checking.  From Matt Harget
	<matt@use.net>:
	* utils/cygcheck.cc (keyeprint): Move declaration before other functions so it
	could be used by all functions to report error messages.  Add comment.
	(add_path): Check for NULL return from malloc.
	(find_on_path): Check initial uses of pointers for NULL.
	(rva_to_offset): Ditto.
	(init_paths): Add checking for return values of Win32 calls.
	(get_dword): Ditto.
	(get_word): Ditto.
	(dll_info): Ditto, also add NULL pointer checks.
	(scan_registry): Ditto.
	(check_keys): Ditto.
	(dump_sysinfo): Ditto.  Add default case to switch.  Add error reporting if
	GetVolumeInformation fails, except when it returns ERROR_NOT_READY.
	(track_down): Add checking for NULL pointers and return values of Win32 calls.
	(cygwin_info): Ditto.  Correct small memory leak.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaum&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/cygcheck.cc.diff?cvsroot=uberbaum&r1=1.6&r2=1.7


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]