RFR: 8373475: Unintentional format string in logString of AccessInfo.cpp [v4]

Damon Nguyen dnguyen at openjdk.org
Tue Dec 23 20:40:21 UTC 2025


> This update is to fix the potential issue where tmpbuf can be read as a format argument for `fprintf`. I have added a specifier here to avoid this issue since the string from tmpbuf is not guaranteed to not cause issues. This update should make this print more reliable and safe to use.

Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:

  fprintf with newline

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/28950/files
  - new: https://git.openjdk.org/jdk/pull/28950/files/092940fe..90396f2b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28950&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28950&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/28950.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28950/head:pull/28950

PR: https://git.openjdk.org/jdk/pull/28950


More information about the client-libs-dev mailing list