Projects
Mega:24.09
openjdk-1.8.0
_service:tar_scm:8263557-Possible-NULL-derefere...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:8263557-Possible-NULL-dereference-in-Arena-destruct_.patch of Package openjdk-1.8.0
From facc89d6a5776a26193c9321111c8489e4af525f Mon Sep 17 00:00:00 2001 Subject: 8263557: Possible NULL dereference in Arena::destruct_contents() --- hotspot/src/share/vm/memory/allocation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/memory/allocation.cpp b/hotspot/src/share/vm/memory/allocation.cpp index 3cd30a686..abbcc6c49 100644 --- a/hotspot/src/share/vm/memory/allocation.cpp +++ b/hotspot/src/share/vm/memory/allocation.cpp @@ -521,7 +521,9 @@ void Arena::destruct_contents() { // reset size before chop to avoid a rare racing condition // that can have total arena memory exceed total chunk memory set_size_in_bytes(0); - _first->chop(); + if (_first != NULL) { + _first->chop(); + } reset(); } -- 2.22.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2