summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-02 09:09:10 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-02 17:30:17 +0200
commit9e6454142cbdf0df9a70060363157b06c5115a96 (patch)
treec1bcae73c74d9d8ad03d2313bec27b6701cd0aeb /external
parentdd7fc07f83416a3d8a444947b7d28f7347520d6a (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.patch2
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");
}