newlib/winsup/utils
Christopher Faylor 64069abe03 * 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.
2000-12-16 04:53:30 +00:00
..
aclocal.m4
ChangeLog
configure
configure.in
cygcheck.cc
cygpath.cc
dumper.cc
dumper.h
getfacl.c
kill.cc
Makefile.in
mkgroup.c
mkpasswd.c
module_info.cc
mount.cc
parse_pe.cc
passwd.c
ps.cc
regtool.cc
setfacl.c
ssp.c
ssp.txt
strace.cc
umount.cc
utils.sgml