aboutsummaryrefslogtreecommitdiff
path: root/mkdep
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-12-16 04:53:30 +0000
committerChristopher Faylor <me@cgf.cx>2000-12-16 04:53:30 +0000
commit64069abe033c4e95ebc8e395bcb2c49be40442e0 (patch)
tree028becf2ee4749708c0c69efc77a5cc795532443 /mkdep
parent085ec17c5d2dd41d53acaed455fb238116092b32 (diff)
downloadnewlib-64069abe033c4e95ebc8e395bcb2c49be40442e0.zip
newlib-64069abe033c4e95ebc8e395bcb2c49be40442e0.tar.gz
newlib-64069abe033c4e95ebc8e395bcb2c49be40442e0.tar.bz2
* 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.
Diffstat (limited to 'mkdep')
0 files changed, 0 insertions, 0 deletions