1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/3rdparty
Winlin 73dd8af4c9
HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750)
For the DJI M30, there is a bug where empty NALU packets with a size of
zero are causing issues with HLS streaming. This bug leads to random
unpublish events due to the SRS disconnecting the connection for the HLS
module when it fails to handle empty NALU packets.

To address this bug, we have patched the system to ignore any empty NALU
packets with a size of zero. Additionally, we have created a tool in the
srs-bench to replay pcapng files captured by tcpdump or Wireshark. We
have also added utest using mprotect and asan to detect any memory
corruption.

It is important to note that this bug has been fixed in versions 4.0.271
6477f31004 and 5.0.170
939f6b484b. This patch specifically
addresses the issue in SRS 6.0.

Please be aware that there is another commit related to this bug that
partially fixes the issue but still leaves a small problem for asan to
detect memory corruption. This commit,
577cd299e1, only ignores empty NALU
packets but still reads beyond the memory.

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2023-08-02 22:49:49 +08:00
..
ffmpeg-4-fit SRS5: MP3: Support decode mp3 by FFmpeg natively. (#296) (#3340) 2022-12-26 18:06:38 +08:00
gperftools-2-fit Squash: Fix bugs 2021-12-26 17:30:51 +08:00
gprof Compress repository, remove gprof files. 2019-12-25 18:30:55 +08:00
gtest-fit UTest: Upgrade gtest to 1.11 and support clion. (#2970) 2022-03-17 16:56:52 +08:00
httpx-static SRS5: CORS: Refine HTTP CORS headers. v5.0.130 2023-01-05 20:45:26 +08:00
libsrtp-2-fit RISCV: Patch ST and libsrtp. #3115 2022-07-20 21:53:39 +08:00
openssl-1.1-fit AppleM1: Update openssl to v1.1.1l 2022-08-14 22:46:51 +08:00
patches/srtp Windows: Support cygwin pipline and packager. v5.0.89 (#3257) 2022-11-20 15:02:08 +08:00
signaling Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:28:10 +08:00
srs-bench HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750) 2023-08-02 22:49:49 +08:00
srt-1-fit SRT: Upgrade libsrt from 1.4.1 to 1.5.1. v6.0.12 (#3362) 2023-01-04 19:56:33 +08:00
st-srs SRS5: Update license date to 2023. v5.0.123 2023-01-01 08:56:20 +08:00
openssl-OpenSSL_1_0_2u.tar.gz Revert part of 01d5e4da, to keep both openssl 1.0 and 1.1, because SRTP depends on 1.0 2020-04-03 14:03:57 +08:00
opus-1.3.1.tar.gz For #1659, #307, add opus codec library 2020-03-22 14:03:48 +08:00
README.md Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:28:10 +08:00

http-parser-2.1.zip

nginx-1.5.7.zip

srt-1-fit srt-1.4.1.tar.gz

openssl-1.1-fit openssl-1.1.1l.tar.gz

openssl-1.1.0e.zip openssl-OpenSSL_1_0_2u.tar.gz

libsrtp-2.3.0.tar.gz

ffmpeg-4.2.tar.gz opus-1.3.1.tar.gz

gtest-fit

gperftools-2-fit

st-srs st-1.9.zip state-threads state-threads-1.9.1.tar.gz

JSON

USRSCTP

links: