Skip to content

Commit

Permalink
mwiede#361 guard against UIKeyboardInteractive implementations that…
Browse files Browse the repository at this point in the history
… include NULL elements in the `String[]` returned from `promptKeyboardInteractive()`.
  • Loading branch information
norrisjeremy committed Jul 21, 2023
1 parent 094ae35 commit 7beb8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Fix new Java 21 compiler warning: `possible 'this' escape before subclass is fully initialized`.
* Tweak OSGi bundle manifest to allow Log4j 3.
* [#362](https://github.com/mwiede/jsch/issues/362) fix PEM key parsing to work with windows line endings.
* [#361](https://github.com/mwiede/jsch/issues/361) guard against `UIKeyboardInteractive` implementations that include NULL elements in the `String[]` returned from `promptKeyboardInteractive()`.
* [0.2.9](https://github.com/mwiede/jsch/releases/tag/jsch-0.2.9)
* [#293](https://github.com/mwiede/jsch/issues/293) allow UserAuthNone to be extended.
* Make JGSS module optional.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public boolean start(Session session) throws Exception {
if (_response != null) {
response = new byte[_response.length][];
for (int i = 0; i < _response.length; i++) {
response[i] = Util.str2byte(_response[i]);
response[i] = _response[i] != null ? Util.str2byte(_response[i]) : Util.empty;
}
}
}
Expand Down

0 comments on commit 7beb8fa

Please sign in to comment.