Commit 265edec2 authored by Taylor Brandstetter's avatar Taylor Brandstetter Committed by Commit Bot

Roll src/third_party/usrsctp/usrsctplib/ a8c51df76..995c0b844 (188 commits)

Also fixing a minor issue with a preprocessor define, see bug 10322.

https://chromium.googlesource.com/external/github.com/sctplab/usrsctp/+log/a8c51df76caa..995c0b844144

$ git log a8c51df76..995c0b844 --date=short --no-merges --format='%ad %ae %s'
2020-08-28 tuexen Fix explicit EOR mode, thanks to Taylor Brandstetter for reporting.
2020-08-26 tim constants: increase SCTP_DIAG_INFO_LEN to accommodate longer file paths (#521)
2020-08-18 tuexen Fix two bugs I introduced in https://github.com/sctplab/usrsctp/commit/e954753202890c9681eb82c7bcc9d6b37e276360
2020-08-16 tuexen Improve concurrent send() calls
2020-08-15 tuexen Sync with FreeBSD
2020-08-13 yuquanw2 Yuquan2 (#515)
2020-08-11 yuquanw2 add tests for nr sacks (#514)
2020-08-06 yuquanw2 new fuuzer for data fragmentation and connect corpus (#512)
2020-08-01 jmillan Provide ulp_info pointer on send_callback() (#511)
2020-07-30 lennart.grahl Fix oversight: Don't not undefine platform specific defines (#510)
2020-07-23 tuexen Clear the pointer to the socket when closing it also in case of an ungraceful operation. This fixes a use-after-free bug found and reported by Taylor Brandstetter from Google by testing the userland stack.
2020-07-23 tuexen Detect and handle an invalid reassembly constellation, which results in a memory leak.
2020-07-22 weinrank Sync master with OSS-FUZZ (#505)
2020-07-19 tuexen Add reference counts for inp/stcb/net when timers are running. This avoids a use-after-free reported for the userland stack. Thanks to Taylor Brandstetter for suggesting a patch for the userland stack.
2020-07-18 tuexen Cleanup
2020-07-17 tuexen Improve address list locking
2020-07-16 weinrank add fflush() (#502)
2020-07-14 tuexen Improve the error handling in generating ASCONF chunks. In case of errors, the cleanup was not consistent. Thanks to Felix Weinrank for fuzzing the userland stack and making me aware of the issue.
2020-07-10 tuexen Remove program used only locally.
2020-07-10 tuexen Sync with FreeBSD
2020-07-10 tuexen Fix a use-after-free bug for the userland stack. Thanks to Mark Wodrich from Google for finding and reporting the bug.
2020-07-09 tuexen Optimize flushing of receive queues. This addresses an issue found and reported for the userland stack in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21243
2020-07-08 tuexen Improve consistency
2020-07-08 tuexen Fix description in error cause
2020-07-08 tuexen Don't accept FORWARD-TSN chunks when I-FORWARD-TSN was negotiated and vice versa
2020-07-08 tuexen Improve handling of PKTDROP chunks. This includes the input validation to address two issues found by ossfuzz testing the userland stack: * https://oss-fuzz.com/testcase-detail/5387560242380800 * https://oss-fuzz.com/testcase-detail/4887954068865024 and adding support for I-DATA chunks in addition to DATA chunks.
2020-07-07 yuquanw2 Yuquanw4 branch (#500)
2020-07-03 tuexen Fix compilation since last debug output cleanup.
2020-07-03 tuexen Simplify conditions and don't send ERROR chunks when not ready.
2020-07-01 tuexen Fix a bug introduced in recent cleanup
2020-06-30 weinrank Improve debug logging (#498)
2020-06-26 tuexen Remove dead assignment.
2020-06-26 tuexen No need to use a non-default C compiler on FreeBSD.
2020-06-26 tuexen Fix error handling.
2020-06-26 tuexen Fix error message.
2020-06-26 yura.yaroshevich GitHub Actions: Make builds more verbose to help understanding what went wrong. (#497)
2020-06-26 tuexen Another Windows build failure...
2020-06-26 tuexen Add missing include. This possibly fixes the builds on Windows
2020-06-26 weinrank Ekr loop refactoring (#491)
2020-06-26 timo.voelker tsctp: add parameter to get the current throughput periodically (#490)
2020-06-26 yura.yaroshevich GitHub actions: CMake is preinstalled. CPU count is fixed. (#495)
2020-06-26 lennart.grahl Clean Meson build file (#494)
2020-06-26 tuexen Fix syntax error.
2020-06-24 yura.yaroshevich GitHub Actions: switch to Ninja from "Unix Makefiles" (#489)
2020-06-24 tuexen Fix the accounting for fragmented unordered messages when using interleaving. This was reported for the userland stack in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19321
2020-06-24 tuexen Don't use an AF_INET6 address on a AF_CONN socket in the fuzzer.
2020-06-23 yuquanw2 Adding tests for ASCONF chunks (#487)
2020-06-24 yura.yaroshevich Enable GitHub actions to perform "sanity" compilatoin of new changes. (#475)
2020-06-24 tuexen Fix alignment issue
2020-06-23 timo.voelker tsctp: add partial reliability with parameters -P and -t (#485)
(...)
2020-05-10 tuexen Only drop DATA chunk with lower priority as specified in RFC 7496.
2020-05-05 tuexen Avoid underflowing a variable, which would result in taking more data from the stream queues then needed.
2020-05-05 tuexen Undo earlier change, since it is incorrect.
2020-05-05 tuexen Fix the computation of the numbers of entries of the mapping array to look at when generating a SACK. This was wrong in case of sequence numbers wrap arounds. Thanks to Gwenael FOURRE for reporting the issue for the userland stack: https://github.com/sctplab/usrsctp/issues/462
2020-05-05 ystreet00 user_recv_thread: set fd to -1 when closing (#461)
2020-04-29 tuexen Fix #458
2020-04-22 tuexen Improve input validation when processing AUTH chunks.
2020-04-22 tuexen Improve input validation when processing AUTH chunks.
2020-04-20 tuexen Honor sysctl variable sctp_no_csum_on_loopback not only for SCTP/IPv4.
2020-04-11 tuexen Zero out pointers for consistency.
2020-04-06 tuexen Be more pedantic when starting / stopping a timer.
2020-03-28 tuexen Deal with AF_CONN address in SCTP_STATUS.
2020-03-28 tuexen Fix build.
2020-03-28 tuexen Fix time to ticks conversion and vice versa. Overflows were not handled correctly.
2020-03-27 tuexen More uint32_t cleanups.
2020-03-27 tuexen Use uint32_t where intended.
2020-03-25 tuexen Don't optimize for timers when the socket is gone. This fixes another bug where the COOKIE was not retransmitted if the socket was closed.
2020-03-25 tuexen Fix handling of accepted sockets.
2020-03-25 tuexen Fix FreeBSD vnet stuff and cleanup debug output.
2020-03-25 tuexen Fix lock name in Windows.
2020-03-25 tuexen Only call panic() when building with INVARIANTS.
2020-03-24 tuexen Cleanup the timer code and also stricly check the arguments used when starting or stopping a timer.
2020-03-24 tuexen Add some lock asserts, which will be used shortly.
2020-03-23 tuexen More timer cleanups.
2020-03-21 deadbeef Get rid of unnecessary include in fuzzer (#449)
2020-03-20 tuexen Remove a set, but unused variable. This should fix https://github.com/sctplab/usrsctp/issues/447
2020-03-20 tuexen Fix a NET_EPOCH bug.
2020-03-19 tuexen Cleanup starting and stopping timers.
2020-03-19 tuexen Cleanup stream reset and asconf timer.
2020-03-19 tuexen MTU candidates must be a multiple of 4.
2020-03-19 tuexen First pass on cleanup timer code.
2020-03-18 weinrank Fuzzer (#446)
2020-03-16 tuexen Get changes in again I accidently took out.
2020-03-16 tuexen Set default MTU for an endpoint to 9000 bytes.
2020-02-18 tuexen Epochify SCTP for FreeBSD.
2020-02-17 tuexen Fix the non-default stream schedulers such that they don't interleave user messages when it is not allowed.
2020-02-12 tuexen Sync with FreeBSD.
2020-02-11 tuexen Use bool for boolean variables.
2020-02-11 tuexen Don't start a timer on a net, which has been removed.
2020-02-11 tuexen Use int instead of bool.
2020-02-09 tuexen Stop the HB and PMTU timer when removing the net, not freeing it.
2020-02-09 tuexen Cleanup timer handling.
2020-02-06 tuexen Let sctp_os_timer_start return if the timer was rescheduled. This will be used in a follow-up commit.
2020-02-04 tuexen Remove unused timer.
2020-02-04 tuexen Fix iterator.
2020-02-04 tuexen Sync FBSDIDs.
2020-02-03 tuexen Prepare location information in preparation for integrating #417.
2020-02-03 tuexen Remove trailing whitespaces.
2020-02-03 weinrank ekr_loop - Fix bug (#425)
2020-02-03 weinrank Handle usrsctp_sendv EWOULDBLOCK (#424)

Created with:
  roll-dep src/third_party/usrsctp/usrsctplib

Bug: webrtc:11899, webrtc:10322
Change-Id: I85cff712ac96f60ab06ea524e614bf458e48e7b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387140Reviewed-by: default avatarHarald Alvestrand <hta@chromium.org>
Reviewed-by: default avatarMirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Taylor <deadbeef@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806745}
parent 4730620a
...@@ -1428,7 +1428,7 @@ deps = { ...@@ -1428,7 +1428,7 @@ deps = {
}, },
'src/third_party/usrsctp/usrsctplib': 'src/third_party/usrsctp/usrsctplib':
Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + 'a8c51df76caae94254b1e59999405f739467490e', Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '995c0b84414466d77d52011e5b572cbe213b770a',
'src/third_party/vulkan_memory_allocator': 'src/third_party/vulkan_memory_allocator':
Var('chromium_git') + '/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git' + '@' + '6c656df63da5995a932aafd45b32af1974e497d9', Var('chromium_git') + '/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git' + '@' + '6c656df63da5995a932aafd45b32af1974e497d9',
......
...@@ -9,6 +9,12 @@ config("usrsctp_config") { ...@@ -9,6 +9,12 @@ config("usrsctp_config") {
"usrsctplib/usrsctplib", "usrsctplib/usrsctplib",
"usrsctplib/usrsctplib/netinet", "usrsctplib/usrsctplib/netinet",
] ]
# This is part of the public config because it's used both by usrsctp and
# the client (WebRTC), to determine if the length field needs populating.
if (is_mac || is_ios || target_os == "freebsd") {
defines = [ "HAVE_SCONN_LEN" ]
}
} }
config("usrsctp_warnings") { config("usrsctp_warnings") {
...@@ -129,11 +135,9 @@ static_library("usrsctp") { ...@@ -129,11 +135,9 @@ static_library("usrsctp") {
} else if (is_apple) { } else if (is_apple) {
defines += [ defines += [
"HAVE_SA_LEN", "HAVE_SA_LEN",
"HAVE_SCONN_LEN",
"__APPLE_USE_RFC_2292", "__APPLE_USE_RFC_2292",
"__Userspace_os_Darwin", "__Userspace_os_Darwin",
] ]
cflags += [ "-U__APPLE__" ]
} }
if (is_win) { if (is_win) {
......
Name: usrsctp Name: usrsctp
URL: http://github.com/sctplab/usrsctp URL: http://github.com/sctplab/usrsctp
Version: 0 Version: 0
Date: Feb 2, 2020 Date: Aug 28, 2020
Revision: bee946a606752a443bd70bca1cb296527fed706d Revision: 995c0b84414466d77d52011e5b572cbe213b770a
License: New BSD License: New BSD
License File: LICENSE License File: LICENSE
Security Critical: yes Security Critical: yes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment