SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181, with codec support for H.264, H.265, AV1, VP9, AAC, Opus, and G.711.
4317 matches across 13 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/bootstrap/proxy.go | 81 | newSignalHandler func() signalHandler |
| LOW | internal/bootstrap/proxy.go | 101 | newWebRTCProxyServer func(environment env.ProxyEnvironment, loadBalancer lb.OriginLoadBalancer) proxy.WebRTCProxyServer |
| LOW | internal/proxy/gen.go | 1 | // Copyright (c) 2026 Winlin |
| LOW | internal/proxy/rtmp.go | 141 | // proxy servers. |
| LOW | internal/proxy/rtc.go | 41 | // The load balancer for origin servers. |
| LOW | internal/proxy/rtc.go | 401 | // to another UDP address, it may connect to another WebRTC proxy, then we should discover the |
| LOW | internal/proxy/srt.go | 161 | // TODO: FIXME: Should cleanup the dead SRT connection. |
| LOW | internal/proxy/srt.go | 441 | // Handshake control packets (Control Type = 0x0000) are used to |
| LOW | internal/proxy/srt.go | 461 | // Encryption Field: 16 bits. Block cipher family and key size. The |
| LOW | internal/proxy/srt.go | 481 | // very first data packet to be sent. |
| LOW | internal/proxy/srt.go | 501 | // socket from which a handshake packet is issued. |
| LOW | internal/lb/gen.go | 1 | // Copyright (c) 2026 Winlin |
| LOW | internal/rtmp/gen.go | 1 | // Copyright (c) 2026 Winlin |
| LOW | internal/rtmp/rtmp.go | 401 | return |
| LOW | internal/rtmp/rtmp.go | 421 | formatType1 |
| LOW | internal/rtmp/rtmp.go | 441 | // follows a Type 0 chunk, then timestamp delta for this Type 3 chunk is |
| LOW | internal/rtmp/rtmp.go | 461 | // fmt=3, 0xCX |
| LOW | internal/rtmp/rtmp.go | 481 | // so we must update the timestamp even fmt=3 for first packet. |
| LOW | internal/rtmp/rtmp.go | 521 | if _, err = io.ReadFull(v.r, p); err != nil { |
| LOW | internal/rtmp/rtmp.go | 541 | // If the timestamp is greater than or equal to 16777215 |
| LOW | internal/rtmp/rtmp.go | 581 | // extended timestamp on a Type-3 chunk (see the detection below). |
| LOW | internal/rtmp/rtmp.go | 621 | timestamp = chunk.extendedTimestamp |
| LOW | internal/rtmp/rtmp.go | 641 | // 4000000000. |
| LOW | internal/rtmp/rtmp.go | 661 | // The Chunk Basic Header encodes the chunk stream ID and the chunk |
| LOW | internal/rtmp/rtmp.go | 681 | // |
| LOW | internal/rtmp/rtmp.go | 881 | // Please read @doc rtmp_specification_1.0.pdf, @page 38, @section 3. Types of messages |
| LOW | internal/rtmp/rtmp.go | 901 | // of 20 for AMF0 encoding and message type value of 17 for AMF3 |
| LOW | internal/rtmp/rtmp.go | 921 | |
| LOW | internal/rtmp/rtmp.go | 1761 | type EventType uint16 |
| LOW | internal/rtmp/rtmp.go | 1781 | // 4 bytes of event data represent the ID of the |
| LOW | internal/rtmp/rtmp.go | 1801 | EventTypeSetBufferLength = 0x03 // 8bytes event-data |
| LOW | internal/rtmp/rtmp.go | 1821 | EventTypePingResponse = 0x07 |
| LOW | internal/rtmp/rtmp_test.go | 1041 | // product of every typed packet against multi-chunk reassembly. Mirrors the C++ |
| LOW | internal/rtmp/rtmp_test.go | 1221 | // ProtocolStackTest suite has no equivalent coverage either, so this is new coverage beyond the |
| LOW | internal/rtmp/rtmp_test.go | 1321 | t.Fatalf("ReadMessage #%v err=%v", i, err) |
| LOW | internal/rtmp/rtmp_test.go | 1521 | } |
| LOW | internal/rtmp/rtmp_test.go | 1681 | // resource-exhaustion surfaces (e.g. an attacker-controlled SetChunkSize followed by a |
| LOW | internal/rtmp/rtmp_test.go | 1961 | // (via onPacketWriten); parseAMFObject, reached from DecodeMessage when a |
| LOW | internal/errors/errors.go | 1 | // Package errors provides error handling primitives with stack traces. |
| LOW | internal/redisclient/gen.go | 1 | // Copyright (c) 2026 Winlin |
| LOW | .github/workflows/test.yml | 1 | name: "Test" |
| LOW | skills/srs-develop/scripts/setup-ffmpeg-with-whip.sh | 1 | #!/bin/bash |
| LOW | skills/srs-develop/scripts/setup-ffmpeg-with-whip.sh | 121 | # openssl@3 is keg-only in Homebrew, so its .pc files are not on the default |
| LOW | skills/srs-develop/scripts/proxy-e2e-srt-test.sh | 1 | #!/bin/bash |
| LOW | skills/srs-develop/scripts/proxy-e2e-whip-test.sh | 1 | #!/bin/bash |
| LOW | skills/srs-develop/scripts/proxy-e2e-whip-test.sh | 41 | SOURCE_FLV="$WORKSPACE/trunk/doc/source.flv" |
| LOW | trunk/research/msg_zerocopy/client.cpp | 1 | #include <st.h> |
| LOW | trunk/research/msg_zerocopy/client.cpp | 21 | |
| LOW | trunk/research/srt-proxy/main.go | 241 | // Control Type: 15 bits. Control Packet Type. The use of these bits |
| LOW | trunk/research/srt-proxy/main.go | 261 | // use. |
| LOW | trunk/research/srt-proxy/main.go | 281 | ExtensionField uint16 |
| LOW | trunk/research/srt-proxy/main.go | 301 | HandshakeType uint32 |
| LOW | trunk/research/players/srs_gb28181.html | 481 | // webrtc://r.ossrs.net/live/livestream |
| LOW | trunk/research/players/js/json2.js | 441 | if (cx.test(text)) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 9921 | // |
| LOW | trunk/research/console/js/3rdparty/angular.js | 14041 | |
| LOW | trunk/auto/codecov.sh | 1 | #!/bin/bash |
| LOW | trunk/auto/utest.sh | 1 | # generate utest Makefile |
| LOW | trunk/auto/utest.sh | 21 | |
| LOW | trunk/auto/utest.sh | 101 | |
| 3728 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | trunk/3rdparty/srt-1-fit/CMakeLists.txt | 894 | # --------------------------------------------------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 169 | # ---------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 178 | # -------------------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 480 | # ------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 529 | # --------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 575 | # ---------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 598 | # -------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 622 | # ------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 646 | # ------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 679 | # ------------------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 691 | # -------------------------------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 712 | # ---------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 731 | # -------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 740 | # ------------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 776 | # ----------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 789 | # ----------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 801 | # ----------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 812 | # --------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 838 | # --------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 886 | # ------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 924 | # ------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1014 | # -------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1030 | # -------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1095 | # -------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1147 | # ------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1177 | # --------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1207 | # ----------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1232 | # ------------------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1261 | # ---------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1282 | # ------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1295 | # ----------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1308 | # ---------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1333 | # ----------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1350 | # --------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1483 | # ----------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1495 | # --------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1512 | # ------------------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1523 | # --------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1646 | # ---------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1663 | # --------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1697 | # -------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1725 | # --------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1841 | # ------------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1877 | # ---------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1905 | # ------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1918 | # ------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1953 | # ----------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1979 | # ---------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1992 | # ------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2012 | # ------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2057 | # ---------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2077 | # ------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2156 | # --------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2173 | # --------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2195 | # ------------------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2207 | # ----------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2227 | # ------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2248 | # ----------------------- |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2291 | # ------------------------ |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2328 | # ----------------------------- |
| 284 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | trunk/3rdparty/openssl-1.1-fit/crypto/LPdir_unix.c | 68 | * small value (HP-UX offers 14), so we need to check if we got a result, and |
| LOW | trunk/src/utest/srs_utest_ai19.cpp | 1747 | // Step 1: Create RTMP client |
| LOW | trunk/src/utest/srs_utest_ai19.cpp | 1755 | // Step 2: Connect to RTMP server |
| LOW | trunk/src/utest/srs_utest_ai19.cpp | 1759 | // Step 3: Publish stream |
| LOW | trunk/src/utest/srs_utest_ai19.cpp | 1763 | // Step 4: Read and send first FLV tag (video) |
| LOW | trunk/src/utest/srs_utest_ai19.cpp | 1800 | // Step 5: Simulate second tag (audio) |
| LOW | trunk/src/utest/srs_utest_ai19.cpp | 1842 | // Step 6: Verify EOF handling |
| LOW | trunk/src/utest/srs_utest_ai21.cpp | 2491 | // Step 1: Create and process AAC sequence header to initialize audio track |
| LOW | trunk/src/utest/srs_utest_ai21.cpp | 2517 | // Step 2: Create and process AAC raw data frame |
| LOW | trunk/src/utest/srs_utest_ai21.cpp | 2541 | // Step 3: Verify RTP packet was sent to target |
| LOW | trunk/src/utest/srs_utest_ai21.cpp | 2690 | // Step 1: Create and process H.264 sequence header to initialize video track |
| LOW | trunk/src/utest/srs_utest_ai21.cpp | 2716 | // Step 2: Create and process H.264 IDR frame |
| LOW | trunk/src/utest/srs_utest_ai09.cpp | 2373 | // Step 1: avsync_time <= 0 with sync_state_ < 0 -> should trace and set sync_state_ = 0 |
| LOW | trunk/src/utest/srs_utest_ai09.cpp | 2377 | // Step 2: avsync_time <= 0 with sync_state_ = 0 -> should not trace, return early |
| LOW | trunk/src/utest/srs_utest_ai09.cpp | 2381 | // Step 3: avsync_time > 0 with sync_state_ < 1 -> should trace and set sync_state_ = 2 |
| LOW | trunk/src/utest/srs_utest_ai09.cpp | 2389 | // Step 4: avsync_time > 0 with sync_state_ = 2 -> should not trace, process packet |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4388 | // Step 1: Send initial keyframe with sequence 200 |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4396 | // Step 2: Send packet 201 (which matches the current lost_sn_) |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4401 | // Step 3: Skip packet 202 and send packet 203 with marker bit |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4407 | // Step 4: Set frame target to fail |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4410 | // Step 5: Send a keyframe with sequence 202 (the missing packet) |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4515 | // Step 1: Send initial keyframe with sequence 300 |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4523 | // Step 2: Send packet 301 (which matches the current lost_sn_) |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4528 | // Step 3: Send packet 302 with marker bit to complete a frame |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4534 | // Step 4: Set frame target to fail - this will cause packet_video_rtmp to fail |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4537 | // Step 5: Send a keyframe with sequence 303 |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4266 | // Step 1: Send a keyframe to initialize the frame detector |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4270 | // Step 2: Send packets that form a complete frame |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4286 | // Step 3: Send the final packet with marker bit to complete the frame |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4317 | // Step 1: Send initial keyframe to set up frame detector |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4325 | // Step 2: Send some non-keyframe packets to build up cache |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4337 | // Step 3: Set frame target to fail - this will cause packet_video_rtmp to fail |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4340 | // Step 4: Send a keyframe with sequence number that matches lost_sn_ |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4447 | // Step 1: Send a keyframe to initialize the frame detector |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4451 | // Step 2: Create a scenario where packet_video_rtmp will make recursive calls |
| LOW | trunk/src/utest/srs_utest_ai08.cpp | 4477 | // Step 3: Send a packet that will trigger frame processing and potentially recursive calls |
| LOW | trunk/src/utest/srs_utest_workflow_forward.cpp | 72 | // Step 1: Initialize forwarder with destination |
| LOW | trunk/src/utest/srs_utest_workflow_forward.cpp | 140 | // Step 2: Call on_publish to start forwarding |
| LOW | trunk/src/utest/srs_utest_workflow_forward.cpp | 229 | // Step 1: Initialize forwarder with destination |
| LOW | trunk/src/utest/srs_utest_workflow_forward.cpp | 233 | // Step 2: Call on_publish to start forwarding |
| LOW | trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp | 399 | // Step 1: Simulate lost packet by adding to NACK receiver |
| LOW | trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp | 406 | // Step 2: Simulate packet recovery (retransmission arrives) |
| LOW | trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp | 411 | // Step 3: Process the recovered packet |
| LOW | trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp | 414 | // Step 4: Verify the fix - packet should be removed from NACK receiver |
| LOW | trunk/src/utest/srs_utest_manual_rtc_recv_track.cpp | 417 | // Step 5: Verify the fix - packet should be added to RTP queue (this was the bug) |
| LOW | trunk/src/utest/srs_utest_ai13.cpp | 1703 | // Step 1: Close current ts segment |
| LOW | trunk/src/utest/srs_utest_ai13.cpp | 1707 | // Step 2: Open new ts segment |
| LOW | trunk/src/utest/srs_utest_ai13.cpp | 1711 | // Step 3: Flush video first after segment open |
| LOW | trunk/src/utest/srs_utest_ai13.cpp | 1715 | // Step 4: Flush audio after video (to make iPhone happy) |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3141 | // Step 1: Cache a keyframe to establish that the stream has video |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3150 | // Step 2: Cache a few inter frames to build up the GOP |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3159 | // Step 3: Now simulate the scenario where video stops but audio continues |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3175 | // Step 4: Send ONE MORE audio packet to exceed the threshold |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3183 | // Step 5: Verify that the cache was cleared due to pure audio overflow |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3187 | // Step 6: Verify that the stream is now detected as pure audio |
| LOW | trunk/src/utest/srs_utest_ai14.cpp | 3191 | // Step 7: Verify that subsequent audio packets are NOT cached |
| LOW | trunk/src/kernel/srs_kernel_buffer.cpp | 495 | // Step 1: Count leading zero bits |
| LOW | trunk/src/kernel/srs_kernel_buffer.cpp | 505 | // Step 2: Calculate base value: (2^leadingZeroBits) - 1 |
| LOW | trunk/src/kernel/srs_kernel_buffer.cpp | 508 | // Step 3: Read suffix bits and add to base value |
| LOW | trunk/src/kernel/srs_kernel_buffer.cpp | 546 | // Step 1: Decode unsigned Exp-Golomb value |
| 1 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/release.yml | 198 | # Create main images for Docker |
| MEDIUM | trunk/research/console/js/3rdparty/angular-resource.js | 295 | * # Creating a custom 'PUT' request |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1402 | # This file is a library for parsing options in your shell scripts along |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2594 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2604 | # This function implements the same check as func_lalib_p without |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2627 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2637 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2662 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 2802 | # Create a libtool object file (analogous to a ".la" file), |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 7570 | # Create the object directory. |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 10249 | # Create the old-style object. |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 10269 | # Create an invalid libtool object if no PIC, so that we don't |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/packages/rpm.sh | 38 | # Create the directory where the input lives, and where the output should live |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/packages/deb.sh | 41 | # Create a pristine directory for building the Debian package files |
| MEDIUM | …rdparty/openssl-1.1-fit/crypto/ec/asm/x25519-x86_64.pl | 20 | # This module implements radix 2^51 multiplication and squaring, and |
| MEDIUM | …ty/openssl-1.1-fit/crypto/poly1305/asm/poly1305-ppc.pl | 17 | # This module implements Poly1305 hash for PowerPC. |
| MEDIUM | …/openssl-1.1-fit/crypto/poly1305/asm/poly1305-armv8.pl | 17 | # This module implements Poly1305 hash for ARMv8. |
| MEDIUM | …penssl-1.1-fit/crypto/poly1305/asm/poly1305-sparcv9.pl | 17 | # This module implements Poly1305 hash for SPARCv9, vanilla, as well |
| MEDIUM | …/openssl-1.1-fit/crypto/poly1305/asm/poly1305-ppcfp.pl | 17 | # This module implements Poly1305 hash for PowerPC FPU. |
| MEDIUM | …openssl-1.1-fit/crypto/poly1305/asm/poly1305-x86_64.pl | 17 | # This module implements Poly1305 hash for x86_64. |
| MEDIUM | …/openssl-1.1-fit/crypto/poly1305/asm/poly1305-s390x.pl | 17 | # This module implements Poly1305 hash for s390x. |
| MEDIUM | …ty/openssl-1.1-fit/crypto/poly1305/asm/poly1305-x86.pl | 17 | # This module implements Poly1305 hash for x86. |
| MEDIUM | …/3rdparty/openssl-1.1-fit/crypto/aes/asm/aesv8-armx.pl | 17 | # This module implements support for ARMv8 AES instructions. The |
| MEDIUM | …rdparty/openssl-1.1-fit/crypto/aes/asm/aesni-x86_64.pl | 17 | # This module implements support for Intel AES-NI extension. In |
| MEDIUM | …k/3rdparty/openssl-1.1-fit/crypto/aes/asm/aesni-x86.pl | 17 | # This module implements support for Intel AES-NI extension. In |
| MEDIUM | …k/3rdparty/openssl-1.1-fit/crypto/aes/asm/aesp8-ppc.pl | 17 | # This module implements support for AES instructions as per PowerISA |
| MEDIUM | …k/3rdparty/openssl-1.1-fit/util/perl/TLSProxy/Proxy.pm | 111 | # Create the Proxy socket |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | trunk/research/players/js/adapter-7.4.0.js | 2073 | // This is an ugly hack, but at the same time is way more robust than |
| MEDIUM | trunk/3rdparty/srt-1-fit/srtcore/tsbpd_time.h | 90 | /// Essentially: getTsbPdTimeBase(usPktTimestamp) + usPktTimestamp |
| MEDIUM | trunk/3rdparty/srt-1-fit/srtcore/tsbpd_time.h | 99 | /// Essentially: getPktTsbPdBaseTime(usPktTimestamp) + m_tdTsbPdDelay + drift() |
| MEDIUM | …/gtest-fit/googletest/include/gtest/gtest-death-test.h | 151 | // This implementation is *not* meant to be as highly tuned or robust |
| MEDIUM | …/gtest-fit/googletest/include/gtest/gtest-death-test.h | 222 | // In practice, this can be used to test functions that utilize the |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 331 | # Sed substitution that helps us do robust quoting. It backslashifies |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 5319 | # Sed substitution that helps us do robust quoting. It backslashifies |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 9271 | # This code stresses the "libraries are programs" paradigm to its |
| MEDIUM | trunk/3rdparty/gperftools-2-fit/src/base/sysinfo.h | 59 | // On some platforms, this call will utilize the same, static buffer for |
| MEDIUM | trunk/3rdparty/openssl-1.1-fit/crypto/x86cpuid.pl | 213 | # Essentially there is only one use for this function. Under DJGPP: |
| MEDIUM | …rdparty/openssl-1.1-fit/crypto/perlasm/x86_64-xlate.pl | 1404 | # To facilitate composing of .pdata structures, auto-generated "gear" |
| MEDIUM | …party/openssl-1.1-fit/crypto/rc4/asm/rc4-md5-x86_64.pl | 22 | # below theoretical maximum, interleaving them would allow to utilize |
| MEDIUM | …y/openssl-1.1-fit/crypto/poly1305/asm/poly1305-mips.pl | 38 | # The return value is placed in $a0. Following coding rules facilitate |
| MEDIUM | …nk/3rdparty/openssl-1.1-fit/crypto/bn/asm/mips-mont.pl | 40 | # The return value is placed in $a0. Following coding rules facilitate |
| MEDIUM | …3rdparty/openssl-1.1-fit/crypto/sha/asm/sha512-mips.pl | 42 | # The return value is placed in $a0. Following coding rules facilitate |
| MEDIUM | …rty/openssl-1.1-fit/crypto/sha/asm/keccak1600-armv8.pl | 35 | # instructions effectively facilitate parallel hashing, which we don't |
| MEDIUM | …rty/openssl-1.1-fit/crypto/sha/asm/sha1-armv4-large.pl | 720 | # this fix-up provides Thumb encoding in conjunction with INST |
| MEDIUM | …3rdparty/openssl-1.1-fit/crypto/sha/asm/sha1-x86_64.pl | 25 | # capacity to fully utilize SHA-1 parallelism. Therefore this fresh |
| MEDIUM | …k/3rdparty/openssl-1.1-fit/crypto/sha/asm/sha1-mips.pl | 40 | # The return value is placed in $a0. Following coding rules facilitate |
| MEDIUM | …arty/openssl-1.1-fit/crypto/sha/asm/keccak1600-avx2.pl | 26 | # It makes other steps more intricate, but overall, is it a win? To be |
| MEDIUM | …ty/openssl-1.1-fit/crypto/aes/asm/aesni-sha1-x86_64.pl | 23 | # utilize processor resources better and achieve better performance. |
| MEDIUM | …ty/openssl-1.1-fit/crypto/aes/asm/aesni-sha1-x86_64.pl | 65 | # fully utilize parallelism, so stitching would not give any gain |
| MEDIUM | …/openssl-1.1-fit/crypto/aes/asm/aesni-sha256-x86_64.pl | 23 | # utilize processor resources better and achieve better performance. |
| MEDIUM | …nk/3rdparty/openssl-1.1-fit/crypto/aes/asm/aes-mips.pl | 48 | # The return value is placed in $a0. Following coding rules facilitate |
| MEDIUM | …/3rdparty/openssl-1.1-fit/engines/asm/e_padlock-x86.pl | 618 | # Essentially this variable belongs in thread local storage. |
| MEDIUM | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 2073 | // This is an ugly hack, but at the same time is way more robust than |
| MEDIUM | trunk/src/utest/srs_utest_ai13.cpp | 950 | muxer->hls_aof_ratio_ = 2.0; // Absolutely overflow at 2x fragment duration |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | trunk/research/players/js/jquery-1.12.2.min.js | 4 | return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{marginLeft |
| CRITICAL | trunk/3rdparty/srt-1-fit/srtcore/group.cpp | 2724 | const int64_t drop_total = u.m_stats.sndr.dropped.total.count(); |
| CRITICAL | …k/3rdparty/signaling/www/demos/js/jquery-1.12.2.min.js | 4 | return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{marginLeft |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | trunk/research/console/js/3rdparty/angular.js | 14506 | <div ng-init="friends = [{name:'John', phone:'555-1276'}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 14508 | {name:'Mike', phone:'555-4321'}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 14509 | {name:'Adam', phone:'555-5678'}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 14510 | {name:'Julie', phone:'555-8765'}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 14511 | {name:'Juliette', phone:'555-5678'}]"></div> |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15305 | [{name:'John', phone:'555-1212', age:10}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15306 | {name:'Mary', phone:'555-9876', age:19}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15307 | {name:'Mike', phone:'555-4321', age:21}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15308 | {name:'Adam', phone:'555-5678', age:35}, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15309 | {name:'Julie', phone:'555-8765', age:29}] |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15364 | { name: 'John', phone: '555-1212', age: 10 }, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15365 | { name: 'Mary', phone: '555-9876', age: 19 }, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15366 | { name: 'Mike', phone: '555-4321', age: 21 }, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15367 | { name: 'Adam', phone: '555-5678', age: 35 }, |
| LOW | trunk/research/console/js/3rdparty/angular.js | 15368 | { name: 'Julie', phone: '555-8765', age: 29 } |
| LOW | trunk/research/console/js/3rdparty/angular.js | 20911 | $scope.title = 'Lorem Ipsum'; |
| LOW | trunk/research/console/js/3rdparty/angular.js | 20912 | $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...'; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | internal/rtmp/rtmp.go | 1777 | // that the playback of data is over as requested |
| HIGH | trunk/3rdparty/srt-1-fit/srtcore/group.h | 377 | /// the group data array as requested. |
| HIGH | trunk/src/protocol/srs_protocol_rtmp_stack.hpp | 1624 | // that the playback of data is over as requested |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | trunk/research/players/js/adapter-7.4.0.js | 492 | function shimSenderReceiverGetStats(window) { |
| LOW | trunk/research/players/js/adapter-7.4.0.js | 604 | function shimAddTrackRemoveTrackWithNative(window) { |
| LOW | trunk/research/players/js/adapter-7.4.0.js | 2536 | function shimTrackEventTransceiver(window) { |
| LOW | trunk/research/players/js/adapter-7.4.0.js | 3061 | function isActionAllowedInSignalingState(action, type, signalingState) { |
| LOW | trunk/research/players/js/adapter-7.4.0.js | 3111 | function addTrackToStreamAndFireEvent(track, stream) { |
| LOW | trunk/research/players/js/adapter-7.4.0.js | 3117 | function removeTrackFromStreamAndFireEvent(track, stream) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 4328 | function completeOutstandingRequest(fn) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 6171 | function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 6615 | function controllersBoundTransclude(scope, cloneAttachFn) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 6851 | function addTextInterpolateDirective(directives, text) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 6885 | function addAttrInterpolateDirective(node, directives, value, name) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 8151 | function createShortMethodsWithData(name) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 10804 | : function cspSafePromiseEnabledGetter(scope, locals) { |
| LOW | trunk/research/console/js/3rdparty/angular.js | 13150 | function isResourceUrlAllowedByPolicy(url) { |
| LOW | trunk/research/console/js/3rdparty/angular-resource.js | 460 | function defaultResponseInterceptor(response) { |
| LOW | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 492 | function shimSenderReceiverGetStats(window) { |
| LOW | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 604 | function shimAddTrackRemoveTrackWithNative(window) { |
| LOW | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 2536 | function shimTrackEventTransceiver(window) { |
| LOW | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 3061 | function isActionAllowedInSignalingState(action, type, signalingState) { |
| LOW | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 3111 | function addTrackToStreamAndFireEvent(track, stream) { |
| LOW | trunk/3rdparty/signaling/www/demos/js/adapter-7.4.0.js | 3117 | function removeTrackFromStreamAndFireEvent(track, stream) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | trunk/research/console/js/3rdparty/angular.js | 13578 | * That said, here's how you can completely disable SCE: |
| MEDIUM | trunk/research/console/js/3rdparty/angular.js | 13582 | * // Completely disable SCE. For demonstration purposes only! |
| MEDIUM | trunk/research/console/js/3rdparty/angular-resource.js | 270 | * It's worth noting that the success callback for `get`, `query` and other methods gets passed |
| MEDIUM | trunk/auto/utest.sh | 41 | # project, except GTEST_HEADERS, which you can use in your own targets |
| LOW | …unk/3rdparty/openssl-1.1-fit/crypto/md5/asm/md5-586.pl | 113 | # make sure to do 'D' first, not 'B', else we clash with |
| LOW | …unk/3rdparty/openssl-1.1-fit/crypto/md5/asm/md5-586.pl | 131 | # make sure to do 'D' first, not 'B', else we clash with |
| MEDIUM | trunk/src/app/srs_app_rtc_dtls.cpp | 563 | // sending out the ICE response in the start_active_handshake function. It's worth noting that |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | trunk/scripts/clang_format.sh | 6 | # Check if clang-format is installed |
| LOW | trunk/scripts/clang_format.sh | 12 | # Check if the trunk directory exists |
| LOW | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 623 | # Set func_arith_result to the result of evaluating TERMs. |
| LOW | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 647 | # Set func_basename_result to FILE with everything up to and including |
| LOW | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 813 | # Set func_len_result to the length of STRING. STRING may not |
| LOW | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 1031 | # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. |
| LOW | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 4003 | # Check if any of the arguments is a wrapper script. |
| LOW | trunk/3rdparty/gperftools-2-fit/ltmain.sh | 9972 | # Loop over the list of objects to be linked. |
| LOW | trunk/3rdparty/gperftools-2-fit/packages/deb.sh | 10 | ## Set LIB to lib if exporting a library, empty-string else |
| LOW | trunk/3rdparty/openssl-1.1-fit/util/mkdef.pl | 130 | # Set this to make typesafe STACK definitions appear in DEF |
| LOW | trunk/3rdparty/openssl-1.1-fit/util/mkdef.pl | 1549 | #Check if a version is less than or equal to the current version. Its a fatal |
| LOW | …/external/perl/Text-Template-1.46/lib/Text/Template.pm | 528 | # Print result text instead of returning it |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | trunk/scripts/package.sh | 5 | # Usage: |
| LOW | …unk/3rdparty/gperftools-2-fit/src/base/stl_allocator.h | 54 | // Usage example: |
| LOW | trunk/3rdparty/gperftools-2-fit/src/base/vdso_support.h | 47 | // Example usage: |
| LOW | trunk/src/kernel/srs_kernel_buffer.hpp | 164 | // Usage example: |
| LOW | trunk/src/kernel/srs_kernel_buffer.hpp | 390 | // Usage example: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | trunk/gdb/srs.py | 32 | print('Error: prev=%s, this=%s, next=%s, v=%s'%(prev, pthis, pnext, v)) |
| MEDIUM | trunk/gdb/srs.py | 67 | print('Error: prev=%s, this=%s, next=%s'%(prev, pthis, pnext)) |