RFR: 8291511: Redefinition of EXIT_FAILURE in libw2k_lsa_auth

Julian Waters jwaters at openjdk.org
Thu Jul 28 17:33:03 UTC 2022


EXIT_FAILURE is defined as -1 in NativeCreds.c, and is not only unused, but also incorrect, as it incorrectly redefines the existing EXIT_FAILURE, which is actually 1 on Windows, not -1. Can be safely commented out as it isn't used anywhere, except for in a call to ExitProcess which has also been commented out as well.

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

Commit messages:
 - Comment out EXIT_FAILURE redefinition

Changes: https://git.openjdk.org/jdk/pull/9678/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9678&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8291511
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9678.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9678/head:pull/9678

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



More information about the security-dev mailing list