RFR: 8325680: Uninitialised memory in deleteGSSCB of GSSLibStub.c:179 [v2]

Weijun Wang weijun at openjdk.org
Tue Feb 27 17:08:54 UTC 2024


> Add a `memset` after memory is successfully allocated.
> 
> No regression test, hard to write without a KDC.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  use calloc

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18015/files
  - new: https://git.openjdk.org/jdk/pull/18015/files/38e41137..9983d06b

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

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

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



More information about the security-dev mailing list