[freeciv/freeciv] 4844b0: Protect against DOS attack with recursive jumbo pa...

freeciv-commits <[email protected]> Sat, 21 Mar 2026 17:02:29 +0000 (UTC)
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/S2_6/[email protected]>
  Branch: refs/heads/S2_6
  Home:   https://github.com/freeciv/freeciv
  Commit: 4844b0339553e18d855690592c47c7fbebf68fb0
      https://github.com/freeciv/freeciv/commit/4844b0339553e18d855690592c47c7fbebf68fb0
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-03-21 (Sat, 21 Mar 2026)

  Changed paths:
    M client/clinet.c
    M common/packets.c
    M common/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