Skip to content

Commit 0d94c23

Browse files
committed
deps,tools: include SipHash in LICENSE
PR-URL: #26367 Refs: #23259 Refs: https://darksi.de/12.hashwick-v8-vulnerability/ Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
1 parent 2fa8dc4 commit 0d94c23

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

LICENSE

+11
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,17 @@ The externally maintained libraries used by Node.js are:
774774
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
775775
"""
776776

777+
- SipHash, located at deps/v8/src/third_party/siphash, is licensed as follows:
778+
"""
779+
SipHash reference C implementation
780+
781+
Copyright (c) 2016 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
782+
783+
To the extent possible under law, the author(s) have dedicated all
784+
copyright and related and neighboring rights to this software to the public
785+
domain worldwide. This software is distributed without any warranty.
786+
"""
787+
777788
- zlib, located at deps/zlib, is licensed as follows:
778789
"""
779790
zlib.h -- interface of the 'zlib' general purpose compression library

tools/license-builder.sh

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ addlicense "OpenSSL" "deps/openssl" \
6464
addlicense "Punycode.js" "lib/punycode.js" \
6565
"$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/master/LICENSE-MIT.txt)"
6666
addlicense "V8" "deps/v8" "$(cat ${rootdir}/deps/v8/LICENSE)"
67+
addlicense "SipHash" "deps/v8/src/third_party/siphash" \
68+
"$(sed -e '/You should have received a copy of the CC0/,$d' -e 's/^\/\* *//' -e 's/^ \* *//' deps/v8/src/third_party/siphash/halfsiphash.cc)"
6769
addlicense "zlib" "deps/zlib" \
6870
"$(sed -e '/The data format used by the zlib library/,$d' -e 's/^\/\* *//' -e 's/^ *//' ${rootdir}/deps/zlib/zlib.h)"
6971

0 commit comments

Comments
 (0)