Skip to content

[BUG]: Server will crash when client send RTMP poc messages #1839

Closed
@50u1w4y

Description

现象描述

After cmake(Debug version) and run with ./MediaServer(maybe add sudo to support port below 1024), a client can send RTMP requests to make the server crash.

如何复现?

  1. git clone from github with git clone --depth 1 https://github.com/ZLMediaKit/ZLMediaKit.git and git submodule update --init and cmake it.
  2. just run server using command [sudo] ./MediaServer with default config.ini
  3. using ffmpeg to push flow or not (say crash in both situation)
  4. run sender.py with poc

相关日志或截图

展开查看详细日志

when not push flow:

notpushflow

when push flow:

pushflow

配置

展开查看详细配置
default config(after cmake and changed nothing)

各种环境信息

  • git commit hash: d0f0c69
  • 操作系统及版本: Ubuntu 20.04
  • 硬件信息: Intel
  • 其他需要补充的信息

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions