summaryrefslogtreecommitdiffstats
path: root/macosx-support-lib-patches/snappy-signed.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /macosx-support-lib-patches/snappy-signed.patch
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'macosx-support-lib-patches/snappy-signed.patch')
-rw-r--r--macosx-support-lib-patches/snappy-signed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/macosx-support-lib-patches/snappy-signed.patch b/macosx-support-lib-patches/snappy-signed.patch
new file mode 100644
index 00000000..0018fcc4
--- /dev/null
+++ b/macosx-support-lib-patches/snappy-signed.patch
@@ -0,0 +1,11 @@
+--- snappy.cc.orig 2023-09-14 01:04:05
++++ snappy.cc 2023-09-14 01:04:28
+@@ -1290,7 +1290,7 @@
+ DeferMemCopy(&deferred_src, &deferred_length, from, len);
+ }
+ } while (ip < ip_limit_min_slop &&
+- (op + deferred_length) < op_limit_min_slop);
++ static_cast<ptrdiff_t>(op + deferred_length) < op_limit_min_slop);
+ exit:
+ ip--;
+ assert(ip <= ip_limit);