Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17
-
b06
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8263250 | 11.0.12-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8263073 | 11.0.12 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
Description
On some platforms like bsd/mac, we call dll_address_to_library_name with a buffer parameter (e.g. char dli_fname[MAXPATHLEN]; ) that has uninitialized content.
This is usually no problem because dll_address_to_library_name fills the array, but on some codepaths it seems not to be the case.
See also this related sonar issue :
https://sonarcloud.io/project/issues?id=jdk&open=AXaE0drk8L9hkQskGEXZ&resolved=false&types=BUG
This is usually no problem because dll_address_to_library_name fills the array, but on some codepaths it seems not to be the case.
See also this related sonar issue :
https://sonarcloud.io/project/issues?id=jdk&open=AXaE0drk8L9hkQskGEXZ&resolved=false&types=BUG
Attachments
Issue Links
- backported by
-
JDK-8263073 initialize dli_fname array before calling dll_address_to_library_name
- Resolved
-
JDK-8263250 initialize dli_fname array before calling dll_address_to_library_name
- Resolved