diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-02 09:09:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-02 17:30:17 +0200 |
commit | 9e6454142cbdf0df9a70060363157b06c5115a96 (patch) | |
tree | c1bcae73c74d9d8ad03d2313bec27b6701cd0aeb /external | |
parent | dd7fc07f83416a3d8a444947b7d28f7347520d6a (diff) |
cid#1545284 fix UR: Uninitialized read of field in constructor
Change-Id: I6d2449f86c4d5745c6068b5df4bf362198cabd18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157479
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/java_websocket/patches/0002-cid-1545284-UR-Uninitialized-read-of-field-in-constr.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/java_websocket/patches/0002-cid-1545284-UR-Uninitialized-read-of-field-in-constr.patch b/external/java_websocket/patches/0002-cid-1545284-UR-Uninitialized-read-of-field-in-constr.patch index a7d67172d6bc..61415c932e11 100644 --- a/external/java_websocket/patches/0002-cid-1545284-UR-Uninitialized-read-of-field-in-constr.patch +++ b/external/java_websocket/patches/0002-cid-1545284-UR-Uninitialized-read-of-field-in-constr.patch @@ -17,7 +17,7 @@ index b402450..760f643 100644 public SSLSocketChannel(SocketChannel inputSocketChannel, SSLEngine inputEngine, ExecutorService inputExecutor, SelectionKey key) throws IOException { - if (inputSocketChannel == null || inputEngine == null || executor == inputExecutor) { -+ if (inputSocketChannel == null || inputEngine == null || executor == null) { ++ if (inputSocketChannel == null || inputEngine == null || inputExecutor == null) { throw new IllegalArgumentException("parameter must not be null"); } |