RFR: 8282316: Operation before String case conversion [v3]

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Thu Feb 24 00:46:50 UTC 2022


> In the SignatureUtil implementation, the checkName() requires case-insensitive input for "OID".  However, the method is called before the case conversion, for example: 
> 
>             sigName = checkName(sigName).toUpperCase(Locale.ENGLISH); 
> 
> This update also clean up redundant calls to the checkName() method.

Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:

  udpate summary spec of checkName

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7598/files
  - new: https://git.openjdk.java.net/jdk/pull/7598/files/4faf3da7..5c6e4275

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7598&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7598&range=01-02

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

PR: https://git.openjdk.java.net/jdk/pull/7598



More information about the security-dev mailing list