RFR: JDK-8312512: sspi.cpp gss_export_name avoid delete on NULL fullname [v2]

Matthias Baesken mbaesken at openjdk.org
Mon Jul 24 11:30:29 UTC 2023


> sspi.cpp contains the gss_export_name function, where at the end some cleanup is done by calling delete. However this should be done more careful, because the function get_full_name which is called in gss_export_name might return NULL, so we better avoid calling delete in this case.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  remove unneeded NULL checks forfree and delete calls

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14989/files
  - new: https://git.openjdk.org/jdk/pull/14989/files/25df9f2e..75425475

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14989&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14989&range=00-01

  Stats: 33 lines in 1 file changed: 0 ins; 19 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/14989.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14989/head:pull/14989

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


More information about the security-dev mailing list