[freeciv/freeciv] 76e0c0: Protect against DOS attack with recursive jumbo pa...

freeciv-commits <[email protected]> Sat, 21 Mar 2026 10:02:21 -0700
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/S3_0/[email protected]>
  Branch: refs/heads/S3_0
  Home:   https://github.com/freeciv/freeciv
  Commit: 76e0c00126165787668d62fb3023b25315d4af11
      https://github.com/freeciv/freeciv/commit/76e0c00126165787668d62fb3023b25315d4af11
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-03-21 (Sat, 21 Mar 2026)

  Changed paths:
    M client/clinet.c
    M common/networking/packets.c
    M common/networking/packets.h
    M server/sernet.c

  Log Message:
  -----------
  Protect against DOS attack with recursive jumbo packets

Receiving side of the old network code allowed jumbo
packets inside jumbo packets recursively, though such
recursion is never needed. Handling such recursion
could easily lead to a crash of the receiver.
Malicious sender could craft such recursive jumbo packets
to crash servers or clients.
The fix simply disallows recursive jumbo packets.

Reported by Louis Moureaux

See RM #1955

Signed-off-by: Marko Lindqvist <[email protected]>



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