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

Bogdan Andrei IANCU noreply at github.com
Tue Mar 3 11:22:43 UTC 2026


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

  Changed paths:
    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