8030763: Validate global memory allocation

Add length checks where necessary

Reviewed-by: coleenp, mschoene
This commit is contained in:
Harold Seigel 2014-07-14 12:43:50 +04:00
parent 5323c1c179
commit 7ec22758dc
7 changed files with 11 additions and 30 deletions

View file

@ -469,9 +469,6 @@ class os: AllStatic {
// run cmd in a separate process and return its exit code; or -1 on failures
static int fork_and_exec(char *cmd);
// Set file to send error reports.
static void set_error_file(const char *logfile);
// os::exit() is merged with vm_exit()
// static void exit(int num);