[OpenSIPS-Devel] [OpenSIPS/opensips] d1777c: [tcp] fixed potential buffer overflow due to insan...

Bogdan Andrei IANCU noreply at github.com
Tue Mar 3 11:20:54 UTC 2026


  Branch: refs/heads/3.6
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d1777c7dc442d60648d3929c549fdc957e1e981d
      https://github.com/OpenSIPS/opensips/commit/d1777c7dc442d60648d3929c549fdc957e1e981d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M modules/janus/ws_handshake_common.h
    M modules/proto_ws/ws_handshake_common.h
    M net/proto_tcp/tcp_common.h

  Log Message:
  -----------
  [tcp] fixed potential buffer overflow due to insane large Content-Len values

Check and limit the Content-Lenght to the size of the reading buffer, makes no sense to accept anything higher.

(cherry picked from commit 09e787799c6f808df948bcd159060ca89e7fa91e)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list