-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 21
-
Component/s: hotspot
-
b21
-
other
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8372267 | 17.0.19-oracle | Daniel Skantz | P3 | Resolved | Fixed | master |
| JDK-8373217 | 17.0.19 | Goetz Lindenmaier | P3 | Resolved | Fixed | master |
An internal static analysis tool detected a potential null pointer dereference in SharedClassPathEntry::copy_from in filemap.cpp:
void SharedClassPathEntry::copy_from(SharedClassPathEntry* ent, ClassLoaderData* loader_data, TRAPS) {
_type = ent->_type;
_is_module_path = ent->_is_module_path;
_timestamp = ent->_timestamp;
_filesize = ent->_filesize;
_from_class_path_attr = ent->_from_class_path_attr;
...
The ent could be null.
void SharedClassPathEntry::copy_from(SharedClassPathEntry* ent, ClassLoaderData* loader_data, TRAPS) {
_type = ent->_type;
_is_module_path = ent->_is_module_path;
_timestamp = ent->_timestamp;
_filesize = ent->_filesize;
_from_class_path_attr = ent->_from_class_path_attr;
...
The ent could be null.
- backported by
-
JDK-8372267 potential null pointer dereference in filemap.cpp
-
- Resolved
-
-
JDK-8373217 potential null pointer dereference in filemap.cpp
-
- Resolved
-
- links to
-
Commit
openjdk/jdk/e1196584
-
Commit(master)
openjdk/jdk17u-dev/b123440a
-
Review
openjdk/jdk/13708
-
Review(master)
openjdk/jdk17u-dev/4199
(1 links to)